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

Method Buffered

v1/stream.go:107–109  ·  view source on GitHub ↗

Buffered returns a reader of 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.Decode] or [Decoder.Token] 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 1

TestDecoderBufferedFunction · 0.95

Calls 1

UnreadBufferMethod · 0.80

Tested by 1

TestDecoderBufferedFunction · 0.76