(data []byte)
| 281 | } |
| 282 | |
| 283 | func (s *UUIDSet) Decode(data []byte) error { |
| 284 | n, err := s.decode(data) |
| 285 | if n != len(data) { |
| 286 | return errors.Errorf("invalid uuid set buffer, must %d, but %d", n, len(data)) |
| 287 | } |
| 288 | return err |
| 289 | } |
| 290 | |
| 291 | func (s *UUIDSet) Clone() *UUIDSet { |
| 292 | clone := new(UUIDSet) |