MCPcopy
hub / github.com/minio/minio-go / DecodeMsg

Method DecodeMsg

pkg/set/msgp.go:92–99  ·  view source on GitHub ↗

DecodeMsg decodes the message from the reader.

(reader *msgp.Reader)

Source from the content-addressed store, hash-verified

90
91// DecodeMsg decodes the message from the reader.
92func (s *IntSet) DecodeMsg(reader *msgp.Reader) error {
93 var is setof.Int
94 if err := is.DecodeMsg(reader); err != nil {
95 return err
96 }
97 *s = IntSet(is)
98 return nil
99}
100
101// UnmarshalMsg decodes the message from the bytes.
102func (s *IntSet) UnmarshalMsg(bytes []byte) ([]byte, error) {

Callers 2

DecodeMsgMethod · 0.45

Calls 1

IntSetTypeAlias · 0.85

Tested by 1