1
0
Fork 0
mirror of https://github.com/MillironX/XAM.jl.git synced 2024-11-14 22:33:14 +00:00

Update documentation

This commit is contained in:
Ciarán O'Mara 2020-04-17 15:52:50 +10:00
parent f00547177f
commit b440bc3c4d

View file

@ -58,6 +58,7 @@ In-place reading reuses a pre-allocated object for every record and less memory
reader = open(BAM.Reader, "data.bam") reader = open(BAM.Reader, "data.bam")
record = BAM.Record() record = BAM.Record()
while !eof(reader) while !eof(reader)
empty!(record)
read!(reader, record) read!(reader, record)
# do something # do something
end end