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

Method MarshalBinary

pkg/set/msgp.go:118–120  ·  view source on GitHub ↗

MarshalBinary encodes the receiver into a binary form and returns the result.

()

Source from the content-addressed store, hash-verified

116
117// MarshalBinary encodes the receiver into a binary form and returns the result.
118func (s IntSet) MarshalBinary() ([]byte, error) {
119 return s.MarshalMsg(nil)
120}
121
122// AppendBinary appends the binary representation of itself to the end of b
123func (s IntSet) AppendBinary(b []byte) ([]byte, error) {

Callers 2

TestStringSetMsgpBinaryFunction · 0.45
TestIntSetMsgpBinaryFunction · 0.45

Calls 1

MarshalMsgMethod · 0.95

Tested by 2

TestStringSetMsgpBinaryFunction · 0.36
TestIntSetMsgpBinaryFunction · 0.36