readIndex returns the position of the last byte read.
()
| 275 | |
| 276 | // readIndex returns the position of the last byte read. |
| 277 | func (d *decodeState) readIndex() int { |
| 278 | return d.off - 1 |
| 279 | } |
| 280 | |
| 281 | // phasePanicMsg is used as a panic message when we end up with something that |
| 282 | // shouldn't happen. It can indicate a bug in the JSON decoder, or that |
no outgoing calls
no test coverage detected