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

Function encodeInt32

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

Source from the content-addressed store, hash-verified

116}
117
118func encodeInt32(w Writer, v reflect.Value, _ flags) error {
119 return w.WriteInt32(int32(v.Int()))
120}
121
122func encodeInt64(w Writer, v reflect.Value, _ flags) error {
123 return w.WriteInt64(v.Int())

Callers

nothing calls this directly

Calls 2

WriteInt32Method · 0.65
IntMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…