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

Function encodeInternedStringValue

intern.go:54–56  ·  view source on GitHub ↗
(e *Encoder, v reflect.Value)

Source from the content-addressed store, hash-verified

52}
53
54func encodeInternedStringValue(e *Encoder, v reflect.Value) error {
55 return e.encodeInternedString(v.String(), true)
56}
57
58func (e *Encoder) encodeInternedString(s string, intern bool) error {
59 // Interned string takes at least 3 bytes. Plain string 1 byte + string len.

Callers

nothing calls this directly

Calls 2

encodeInternedStringMethod · 0.80
StringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…