MCPcopy Create free account
hub / github.com/segmentio/encoding / encodeString

Function encodeString

thrift/encode.go:130–132  ·  view source on GitHub ↗
(w Writer, v reflect.Value, _ flags)

Source from the content-addressed store, hash-verified

128}
129
130func encodeString(w Writer, v reflect.Value, _ flags) error {
131 return w.WriteString(v.String())
132}
133
134func encodeBytes(w Writer, v reflect.Value, _ flags) error {
135 return w.WriteBytes(v.Bytes())

Callers

nothing calls this directly

Calls 2

WriteStringMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…