func (us *UnknownService) Unpack(data []byte) (uint, error) {
	us.Data = make([]byte, len(data))
	return uint(copy(us.Data, data)), nil
}
Unpack copies the entire data.
package knxnet
import (
	"errors"
	"fmt"
	"github.com/vapourismo/knx-go/knx/util"
)
type ServiceID uint16
func (srv ServiceID) String() string {
	return fmt.Sprintf("%#04x", uint16(srv))
}
const (
	SearchReqService    ServiceID = 0x0201
	SearchResService    ServiceID = 0x0202
	ConnReqService      ServiceID = 0x0205
	ConnResService      ServiceID = 0x0206
	ConnStateReqService ServiceID = 0x0207
	ConnStateResService ServiceID = 0x0208
	DiscReqService      ServiceID = 0x0209
	DiscResService      ServiceID = 0x020a
	TunnelReqService    ServiceID = 0x0420
	TunnelResService    ServiceID = 0x0421
	RoutingIndService   ServiceID = 0x0530
	RoutingLostService  ServiceID = 0x0531
	RoutingBusyService  ServiceID = 0x0532
)
type Service interface {
	Service() ServiceID
}
type ServicePackable interface {
	util.Packable
	Service
}
type UnknownService struct {
	service ServiceID
	Data    []byte
}
func (us *UnknownService) Service() ServiceID {
	return us.service
}
func (us *UnknownService) Size() uint {
	return uint(len(us.Data))
}
func (us *UnknownService) Pack(buffer []byte) {
	copy(buffer, us.Data)
}