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

Function decodeBool

thrift/decode.go:137–144  ·  view source on GitHub ↗
(r Reader, v reflect.Value, _ flags)

Source from the content-addressed store, hash-verified

135}
136
137func decodeBool(r Reader, v reflect.Value, _ flags) error {
138 b, err := r.ReadBool()
139 if err != nil {
140 return err
141 }
142 v.SetBool(b)
143 return nil
144}
145
146func decodeInt8(r Reader, v reflect.Value, _ flags) error {
147 i, err := r.ReadInt8()

Callers

nothing calls this directly

Calls 1

ReadBoolMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…