MCPcopy Create free account
hub / github.com/godbus/dbus / binread

Method binread

decoder.go:56–60  ·  view source on GitHub ↗

Calls binary.Read(dec.in, dec.order, v) and panics on read errors.

(v any)

Source from the content-addressed store, hash-verified

54
55// Calls binary.Read(dec.in, dec.order, v) and panics on read errors.
56func (dec *decoder) binread(v any) {
57 if err := binary.Read(dec.in, dec.order, v); err != nil {
58 panic(err)
59 }
60}
61
62func (dec *decoder) Decode(sig Signature) (vs []any, err error) {
63 defer func() {

Callers 1

decodeMethod · 0.95

Calls 1

ReadMethod · 0.80

Tested by

no test coverage detected