MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / MakeDecoder

Function MakeDecoder

pkg/util/json/tokenizer/decoder.go:55–60  ·  view source on GitHub ↗

MakeDecoder returns decoder for the input data

(data []byte)

Source from the content-addressed store, hash-verified

53
54// MakeDecoder returns decoder for the input data
55func MakeDecoder(data []byte) Decoder {
56 return Decoder{
57 scanner: Scanner{data: data},
58 state: (*Decoder).stateValue,
59 }
60}
61
62// Pos returns current input position.
63func (d *Decoder) Pos() int {

Callers 1

parseUsingFastParserFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…