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

Method EncodeMsg

pkg/set/msgp.go:27–29  ·  view source on GitHub ↗

EncodeMsg encodes the message to the writer. Values are stored as a slice of strings or nil.

(writer *msgp.Writer)

Source from the content-addressed store, hash-verified

25// EncodeMsg encodes the message to the writer.
26// Values are stored as a slice of strings or nil.
27func (s StringSet) EncodeMsg(writer *msgp.Writer) error {
28 return setof.StringSorted(s).EncodeMsg(writer)
29}
30
31// MarshalMsg encodes the message to the bytes.
32// Values are stored as a slice of strings or nil.

Callers

nothing calls this directly

Calls 1

EncodeMsgMethod · 0.45

Tested by

no test coverage detected