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.
()
| 910 | // The offset gives the location of the end of the most recently returned token |
| 911 | // and the beginning of the next token. |
| 912 | func (d *Decoder) InputOffset() int64 { |
| 913 | return d.offset |
| 914 | } |
| 915 | |
| 916 | // Return saved offset. |
| 917 | // If we did ungetc (nextByte >= 0), have to back up one. |
nothing calls this directly
no outgoing calls
no test coverage detected