MCPcopy Index your code
hub / github.com/vmihailenco/msgpack / DecodeBytes

Method DecodeBytes

decode_string.go:79–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79func (d *Decoder) DecodeBytes() ([]byte, error) {
80 c, err := d.readCode()
81 if err != nil {
82 return nil, err
83 }
84 return d.bytes(c, nil)
85}
86
87func (d *Decoder) bytes(c byte, b []byte) ([]byte, error) {
88 n, err := d.bytesLen(c)

Callers 2

unmarshalBinaryValueFunction · 0.80
unmarshalTextValueFunction · 0.80

Calls 2

readCodeMethod · 0.95
bytesMethod · 0.95

Tested by

no test coverage detected