package
0.8.11
Repository: https://github.com/wmnsk/go-gtp.git
Documentation: pkg.go.dev

# Functions

DecodeFQDN decodes the given Name Syntax-encoded []byte as a string.
DecodeMNC decodes BCD-encoded MNC as it occurs in CGI/SAI/RAI.
DecodeMCC decodes BCD-encoded MCC as it occurs in CGI/SAI/RAI.
DecodePLMN decodes BCD-encoded bytes into MCC and MNC.
EncodeFQDN encodes the given string as the Name Syntax defined in RFC 2181, RFC 1035 and RFC 1123.
EncodePLMN encodes MCC and MNC as BCD-encoded bytes.
ParseECI decodes ECI uint32 into e-NodeB ID and Cell ID.
StrToSwappedBytes returns swapped bits from a byte.
SwappedBytesToStr decodes raw swapped bytes into string.
Uint24To32 converts 24bits-length []byte value into the uint32 with 8bits of zeros as prefix.
Uint32To24 converts the uint32 value into 24bits-length []byte.
Uint40To64 converts 40bits-length []byte value into the uint64 with 8bits of zeros as prefix.
Uint64To40 converts the uint64 value into 40bits-length []byte.