Valid returns true if the decoder has not reached the end of the packed data.
()
| 369 | |
| 370 | // Valid returns true if the decoder has not reached the end of the packed data. |
| 371 | func (d *Decoder) Valid() bool { |
| 372 | return d.blockIdx < len(d.Pack.Blocks) |
| 373 | } |
| 374 | |
| 375 | // Next moves the decoder on to the next block. |
| 376 | func (d *Decoder) Next() []uint64 { |
no outgoing calls