MCPcopy Create free account
hub / github.com/go-json-experiment/json / InputOffset

Method InputOffset

v1/stream.go:290–311  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 12

TokenMethod · 0.95
TestDecodeInStreamFunction · 0.95
TestDecoderInputOffsetFunction · 0.95
makeMapArshalerFunction · 0.45
makeStructArshalerFunction · 0.45
unmarshalObjectAnyFunction · 0.45
unmarshalDecodeFunction · 0.45
newUnmarshalErrorBeforeFunction · 0.45
newUnmarshalErrorAfterFunction · 0.45
checkValidFunction · 0.45

Calls 1

UnreadBufferMethod · 0.80

Tested by 3

TestDecodeInStreamFunction · 0.76
TestDecoderInputOffsetFunction · 0.76