code: func (r *CommandHgfsSendPacket) UnmarshalBinary(data []byte) error {
  	buf := bytes.NewBuffer(data)
  
  	err := binary.Read(buf, binary.LittleEndian, &r.Body)
  	if err != nil {
  		return err
  	}
  
  	r.Packet = buf.Next(int(r.Body.PacketSize))
  
  	return nil
  }
docs: // UnmarshalBinary implements the encoding.BinaryUnmarshaler interface