rts-sim-testing-service/third_party/udp/udp_message.go

15 lines
206 B
Go
Raw Normal View History

package udp
type UdpMessageCodec interface {
UdpMessageEncoder
UdpMessageDecoder
}
type UdpMessageEncoder interface {
Encode() []byte
}
type UdpMessageDecoder interface {
Decode(data []byte) error
}