- proc close(b: BGZ): int {...}{.discardable, raises: [], tags: [].}
- 
close the filehandle
- proc write(b: BGZ; line: string): int64 {...}{.inline, raises: [], tags: [].}
- 
write a string to the file
- proc write_line(b: BGZ; line: string): int {...}{.inline, raises: [], tags: [].}
- 
write a string to the file and add a newline.
- proc set_threads(b: BGZ; threads: int) {...}{.raises: [], tags: [].}
- 
set the number of de/compression threads
- proc read_line(b: BGZ; line: ptr kstring_t): int {...}{.inline, raises: [], tags: [].}
- 
read a line into the kstring t.
- proc flush(b: BGZ): int {...}{.raises: [], tags: [].}
- 
- proc tell(b: BGZ): uint64 {...}{.inline, raises: [], tags: [].}
- 
- proc open(b: var BGZ; path: string; mode: string) {...}{.raises: [IOError], tags: [].}
- 
open a BGZF file