* io.ReadAtLeast can read more bytes from the source than needed#1
* io.ReadAtLeast can read more bytes from the source than needed#1RangelReale wants to merge 1 commit into32bitkid:masterfrom
Conversation
…you read directly from the source after using bitreader, some bytes may have been "lost"
|
I'll have to think about this a little bit more. The The intended work-around was that My hesitation here is the specific usage of |
|
This is the code that had trouble for me, I was reading an .swf file header, and there is a "Rect" structure that uses variable number of bits, but there is more data to be read after this. https://github.com/RangelReale/swfinfo/blob/master/types.go |
If you read directly from the source after using bitreader, some bytes may have been "lost"