marshal.go
func (uuid *UUID) UnmarshalBinary(data []byte) error {
	if len(data) != 16 {
		return fmt.Errorf("invalid UUID (got %d bytes)", len(data))
	}
	copy(uuid[:], data)
	return nil
}
func (uuid *UUID) UnmarshalBinary(data []byte) error {
	if len(data) != 16 {
		return fmt.Errorf("invalid UUID (got %d bytes)", len(data))
	}
	copy(uuid[:], data)
	return nil
}
func ( uuid * UUID ) UnmarshalBinary ( data [ ] byte ) error { if len ( data ) != 16 { return fmt . Errorf ( " " , len ( data ) ) } copy ( uuid [ : ] , data ) return nil }
// UnmarshalBinary implements encoding.BinaryUnmarshaler.
UnmarshalBinary implements encoding . BinaryUnmarshaler .