fillFastStart() assumes the bitReaderShifted is empty and there is at least 8 bytes to read.
()
| 182 | |
| 183 | // fillFastStart() assumes the bitReaderShifted is empty and there is at least 8 bytes to read. |
| 184 | func (b *bitReaderShifted) fillFastStart() { |
| 185 | b.value = le.Load64(b.in, b.off-8) |
| 186 | b.bitsRead = 0 |
| 187 | b.off -= 8 |
| 188 | } |
| 189 | |
| 190 | // fill() will make sure at least 32 bits are available. |
| 191 | func (b *bitReaderShifted) fill() { |