MCPcopy Index your code
hub / github.com/vmihailenco/msgpack / internedStringAtIndex

Method internedStringAtIndex

intern.go:213–219  ·  view source on GitHub ↗
(idx int)

Source from the content-addressed store, hash-verified

211}
212
213func (d *Decoder) internedStringAtIndex(idx int) (string, error) {
214 if idx >= len(d.dict) {
215 err := fmt.Errorf("msgpack: interned string at index=%d does not exist", idx)
216 return "", err
217 }
218 return d.dict[idx], nil
219}
220
221func (d *Decoder) decodeInternedStringWithLen(n int, intern bool) (string, error) {
222 if n <= 0 {

Callers 2

decodeInternedStringMethod · 0.95
decodeInternedStringExtFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected