BgzfBlock

Structure representing BGZF block. In general, users shouldn't use it, as it is EXTREMELY low-level.

Members

Functions

compressed_data
inout(ubyte[]) compressed_data()

If block has been already decompressed, result is undefined.

end_offset
ulong end_offset()

end offset in the file, in bytes

opCmp
int opCmp(BgzfBlock other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(BgzfBlock other)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
hash_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_buffer
ubyte[] _buffer;

A buffer is used to reduce number of allocations.

bsize
ushort bsize;

total Block SIZE minus one

cdata_size
ushort cdata_size;

compressed data size

crc32
uint crc32;
Undocumented in source.
dirty
bool dirty;
Undocumented in source.
input_size
uint input_size;

size of uncompressed data

start_offset
ulong start_offset;

start offset in the file, in bytes

Meta