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

Function encodeBool

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

Source from the content-addressed store, hash-verified

104}
105
106func encodeBool(w Writer, v reflect.Value, _ flags) error {
107 return w.WriteBool(v.Bool())
108}
109
110func encodeInt8(w Writer, v reflect.Value, _ flags) error {
111 return w.WriteInt8(int8(v.Int()))

Callers

nothing calls this directly

Calls 2

WriteBoolMethod · 0.65
BoolMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…