MarshalBinary encodes the receiver into a binary form and returns the result.
()
| 116 | |
| 117 | // MarshalBinary encodes the receiver into a binary form and returns the result. |
| 118 | func (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 |
| 123 | func (s IntSet) AppendBinary(b []byte) ([]byte, error) { |