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

Method UnreadBuffer

jsontext/decode.go:1154–1156  ·  view source on GitHub ↗

UnreadBuffer returns the data remaining in the unread buffer, which may contain zero or more bytes. This is the data already consumed from the input [io.Reader], but not yet read by a [Decoder.ReadToken] or [Decoder.ReadValue] call. It may contain bytes that do not form valid JSON as it has not yet

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

unmarshalDecodeFunction · 0.80
checkValidFunction · 0.80
BufferedMethod · 0.80
TokenMethod · 0.80
InputOffsetMethod · 0.80

Calls 1

unreadBufferMethod · 0.80

Tested by 1