package
0.0.0-20221010090128-9ad1fc43ae89
Repository: https://github.com/amrrx/go-sccp.git
Documentation: pkg.go.dev
# Functions
DecodePLMN decodes BCD-encoded bytes into MCC and MNC.
EncodePLMN encodes MCC and MNC as BCD-encoded bytes.
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.