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

Function encodeInt16

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

Source from the content-addressed store, hash-verified

112}
113
114func encodeInt16(w Writer, v reflect.Value, _ flags) error {
115 return w.WriteInt16(int16(v.Int()))
116}
117
118func encodeInt32(w Writer, v reflect.Value, _ flags) error {
119 return w.WriteInt32(int32(v.Int()))

Callers

nothing calls this directly

Calls 2

WriteInt16Method · 0.65
IntMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…