MCPcopy Create free account
hub / github.com/blues/note / readIndex

Method readIndex

jsonxt/decode.go:277–279  ·  view source on GitHub ↗

readIndex returns the position of the last byte read.

()

Source from the content-addressed store, hash-verified

275
276// readIndex returns the position of the last byte read.
277func (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

Callers 6

valueMethod · 0.95
arrayMethod · 0.95
objectMethod · 0.95
literalStoreMethod · 0.95
objectInterfaceMethod · 0.95
literalInterfaceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected