Versions in this module Expand all Collapse all v0 v0.0.2 Mar 29, 2024 v0.0.1 Jul 28, 2019 Changes in this version + type Header struct + Payload []byte + Type MsgType + func NewHeader(mtype MsgType, payload []byte) *Header + func ParseHeader(b []byte) (*Header, error) + func (h *Header) MarshalBinary() ([]byte, error) + func (h *Header) MarshalLen() int + func (h *Header) MarshalTo(b []byte) error + func (h *Header) String() string + func (h *Header) UnmarshalBinary(b []byte) error + type Message interface + MarshalLen func() int + MarshalTo func([]byte) error + MessageType func() MsgType + MessageTypeName func() string + func ParseMessage(b []byte) (Message, error) + type MsgType uint8 + const MsgTypeAK + const MsgTypeCC + const MsgTypeCR + const MsgTypeCREF + const MsgTypeDT1 + const MsgTypeDT2 + const MsgTypeEA + const MsgTypeED + const MsgTypeERR + const MsgTypeIT + const MsgTypeLUDT + const MsgTypeLUDTS + const MsgTypeRLC + const MsgTypeRLSD + const MsgTypeRSC + const MsgTypeRSR + const MsgTypeUDT + const MsgTypeUDTS + const MsgTypeXUDT + const MsgTypeXUDTS + type UDT struct + CalledPartyAddress *params.PartyAddress + CallingPartyAddress *params.PartyAddress + Data []byte + DataLength uint8 + Ptr1 uint8 + Ptr2 uint8 + Ptr3 uint8 + Type MsgType + func NewUDT(pcls int, mhandle bool, cdpa, cgpa *params.PartyAddress, data []byte) *UDT + func ParseUDT(b []byte) (*UDT, error) + func (u *UDT) CdGT() string + func (u *UDT) CgGT() string + func (u *UDT) MarshalBinary() ([]byte, error) + func (u *UDT) MarshalLen() int + func (u *UDT) MarshalTo(b []byte) error + func (u *UDT) MessageType() MsgType + func (u *UDT) MessageTypeName() string + func (u *UDT) SetLength() + func (u *UDT) String() string + func (u *UDT) UnmarshalBinary(b []byte) error + type UnsupportedTypeError byte + func (e UnsupportedTypeError) Error() string