InputOffset returns the input stream byte offset of the current decoder position. The offset gives the location of the end of the most recently returned token and the beginning of the next token.
()
| 484 | // The offset gives the location of the end of the most recently returned token |
| 485 | // and the beginning of the next token. |
| 486 | func (dec *Decoder) InputOffset() int64 { |
| 487 | return dec.inputOffset |
| 488 | } |
| 489 | |
| 490 | // Encoder is documented at https://golang.org/pkg/encoding/json/#Encoder |
| 491 | type Encoder struct { |
no outgoing calls