Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Decompressor bug? #19

Open
taralx opened this issue Mar 21, 2014 · 1 comment
Open

Decompressor bug? #19

taralx opened this issue Mar 21, 2014 · 1 comment

Comments

@taralx
Copy link

taralx commented Mar 21, 2014

    switch b[0] {
    case 0xFF:
        io.ReadFull(c.r, c.buf[:])
    case 0x00:

I think you need to read a byte and set c.raw after io.ReadFull. :-)

@glycerine
Copy link
Contributor

my commits up to and including 9ba8f22 and 78bdc8a fix the decompressor (packed -> unpacked binary) code. You can pull these from my fork's master branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants