|
|
@ -125,10 +125,10 @@ class DecompressedBgzfBlock { |
|
|
|
DecompressedBgzfBlock decompressBgzfBlock(BgzfBlock block) |
|
|
|
{ |
|
|
|
if (block.input_size == 0) { |
|
|
|
return new DecompressedBgzfBlock(block.start_offset, |
|
|
|
block.start_offset + block.bsize + 1, |
|
|
|
cast(ubyte[])[]); // EOF marker
|
|
|
|
// TODO: add check for correctness of EOF marker
|
|
|
|
return new DecompressedBgzfBlock(block.start_offset, |
|
|
|
block.start_offset + block.bsize + 1, |
|
|
|
cast(ubyte[])[]); // EOF marker
|
|
|
|
// TODO: add check for correctness of EOF marker
|
|
|
|
} |
|
|
|
|
|
|
|
/* |
|
|
|