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

Method readCode

decode.go:605–614  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

603}
604
605func (d *Decoder) readCode() (byte, error) {
606 c, err := d.s.ReadByte()
607 if err != nil {
608 return 0, err
609 }
610 if d.rec != nil {
611 d.rec = append(d.rec, c)
612 }
613 return c, nil
614}
615
616func (d *Decoder) readFull(b []byte) error {
617 _, err := io.ReadFull(d.r, b)

Callers 15

DecodeArrayLenMethod · 0.95
DecodeSliceMethod · 0.95
DecodeMapLenMethod · 0.95
uint8Method · 0.95
DecodeUint64Method · 0.95
DecodeInt64Method · 0.95
DecodeFloat32Method · 0.95
DecodeFloat64Method · 0.95
DecodeStringMethod · 0.95
DecodeBytesLenMethod · 0.95
DecodeBytesMethod · 0.95
decodeStringTempMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected