fillFastStart() assumes the bitreader is empty and there is at least 8 bytes to read.
()
| 77 | |
| 78 | // fillFastStart() assumes the bitreader is empty and there is at least 8 bytes to read. |
| 79 | func (b *bitReader) fillFastStart() { |
| 80 | b.cursor -= 8 |
| 81 | b.value = le.Load64(b.in, b.cursor) |
| 82 | b.bitsRead = 0 |
| 83 | } |
| 84 | |
| 85 | // fill() will make sure at least 32 bits are available. |
| 86 | func (b *bitReader) fill() { |