Initialize and decodeAsync first state and symbol.
(br *bitReader, tableLog uint8, dt []decSymbol)
| 296 | |
| 297 | // Initialize and decodeAsync first state and symbol. |
| 298 | func (s *fseState) init(br *bitReader, tableLog uint8, dt []decSymbol) { |
| 299 | s.dt = dt |
| 300 | br.fill() |
| 301 | s.state = dt[br.getBits(tableLog)] |
| 302 | } |
| 303 | |
| 304 | // final returns the current state symbol without decoding the next. |
| 305 | func (s decSymbol) final() (int, uint8) { |