MCPcopy
hub / github.com/tinylib/msgp / Unmarshaler

Interface Unmarshaler

msgp/read.go:100–102  ·  view source on GitHub ↗

Unmarshaler is the interface fulfilled by objects that know how to unmarshal themselves from MessagePack. UnmarshalMsg unmarshals the object from binary, returing any leftover bytes and any errors encountered.

Source from the content-addressed store, hash-verified

98// from binary, returing any leftover
99// bytes and any errors encountered.
100type Unmarshaler interface {
101 UnmarshalMsg([]byte) ([]byte, error)
102}
103
104// Decodable is the interface fulfilled
105// by objects that know how to read

Callers 8

ReadFileFunction · 0.65
TestNumberFunction · 0.65
ReadFileFunction · 0.65
DecoderFromBytesFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65

Implementers 4

Numbermsgp/number.go
testDecmsgp/iter_test.go
OmitZeroExt_generated/omitzero_ext.go
OmitZeroExtPtr_generated/omitzero_ext.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…