MarshalMsg encodes the message to the bytes. Values are stored as a slice of ints or nil.
(bytes []byte)
| 85 | // MarshalMsg encodes the message to the bytes. |
| 86 | // Values are stored as a slice of ints or nil. |
| 87 | func (s IntSet) MarshalMsg(bytes []byte) ([]byte, error) { |
| 88 | return setof.IntSorted(s).MarshalMsg(bytes) |
| 89 | } |
| 90 | |
| 91 | // DecodeMsg decodes the message from the reader. |
| 92 | func (s *IntSet) DecodeMsg(reader *msgp.Reader) error { |
no outgoing calls