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

Function encodeInt8

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

Source from the content-addressed store, hash-verified

108}
109
110func encodeInt8(w Writer, v reflect.Value, _ flags) error {
111 return w.WriteInt8(int8(v.Int()))
112}
113
114func encodeInt16(w Writer, v reflect.Value, _ flags) error {
115 return w.WriteInt16(int16(v.Int()))

Callers

nothing calls this directly

Calls 2

WriteInt8Method · 0.65
IntMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…