BgzfStream

Streams bgzf data and fetch items by unit or buffer. These can go beyond the size of individual blocks(!)

Constructors

this
this(string fn)
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

fetch
ubyte[] fetch(ubyte[] buffer)

Fetch data into buffer. The size of the buffer can be larger than one or more multiple blocks

read
int read()
Undocumented in source. Be warned that the author may not have intended to support it.
read
string read(size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
read
T[] read(T[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

eof
bool eof [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

bgzf
BgzfReader bgzf;
Undocumented in source.
block_pos
Nullable!int block_pos;
Undocumented in source.
blockread
BlockReadUnbuffered blockread;
Undocumented in source.
fpos
FilePos fpos;
Undocumented in source.
uncompressed_buf
ubyte[] uncompressed_buf;
Undocumented in source.
uncompressed_size
size_t uncompressed_size;
Undocumented in source.

Meta