Reset moves the read offset back to the beginning of the encoded data
()
| 111 | |
| 112 | // Reset moves the read offset back to the beginning of the encoded data |
| 113 | func (d *Decoder) Reset() { |
| 114 | d.offset = 0 |
| 115 | } |
| 116 | |
| 117 | // More indicates if there is more data to be read in the buffer. |
| 118 | func (d *Decoder) More() bool { |
no outgoing calls