MarshalMsg encodes the message to the bytes. Values are stored as a slice of strings or nil.
(bytes []byte)
| 31 | // MarshalMsg encodes the message to the bytes. |
| 32 | // Values are stored as a slice of strings or nil. |
| 33 | func (s StringSet) MarshalMsg(bytes []byte) ([]byte, error) { |
| 34 | return setof.StringSorted(s).MarshalMsg(bytes) |
| 35 | } |
| 36 | |
| 37 | // DecodeMsg decodes the message from the reader. |
| 38 | func (s *StringSet) DecodeMsg(reader *msgp.Reader) error { |
no test coverage detected