[Issue 9505] std.zlib seem to be bugged

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 14 07:57:29 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9505


Artem Tarasov <lomereiter at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lomereiter at gmail.com


--- Comment #7 from Artem Tarasov <lomereiter at gmail.com> 2013-02-14 07:57:28 PST ---
I guess that's because you are using winbits=15 instead of -15. BAM files
contain GZIP blocks with custom headers, so processing them is not so
straightforward.

(I've developed a library for BAM files during last summer -
github.com/lomereiter/biod)

(In reply to comment #0)
> Dear,
> when I try to read  gzip compressed data with a byChunk modified to uncompress
> data at second loop uncompress raise an error:
> zlib.d(59): data error
> 
> 
> code: http://dpaste.1azy.net/0d8f6eac
> 
> EXetoC show to me http://d.puremagic.com/issues/show_bug.cgi?id=3191
> 
> but this bug is really old is not possible to be this no ?
> 
> $ ./zreader file.bam
> --> popFront()
> --> front()
> BAMP�
> --> popFront()
> --> front()

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list