Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type E164 ¶
type E164 TBCD
E164 value
func (E164) MarshalJSON ¶
MarshalJSON provide custom marshaller
func (E164) UnmarshalJSON ¶
UnmarshalJSON provide custom marshaller
type IMSI ¶
type IMSI string
IMSI value
func (IMSI) MarshalJSON ¶
MarshalJSON provide custom marshaller
func (IMSI) UnmarshalJSON ¶
UnmarshalJSON provide custom marshaller
type InvalidDataError ¶
InvalidDataError show invalid data
func (InvalidDataError) Error ¶
func (e InvalidDataError) Error() string
type TBCD ¶
type TBCD []byte
TBCD is Telephony Binary Coded Decimal value that is defined in TS29.002.
TBCD-STRING ::= OCTET STRING
This type (Telephony Binary Coded Decimal String) is used to represent several digits from 0 through 9, *, #, a, b, c, two digits per octet, each digit encoded 0000 to 1001 (0 to 9), 1010 (*), 1011 (#), 1100 (a), 1101 (b) or 1110 (c); 1111 used as filler when there is an odd number of digits. bits 8765 of octet n encoding digit 2n bits 4321 of octet n encoding digit 2(n-1) +1
func (TBCD) MarshalJSON ¶
MarshalJSON provide custom marshaller
func (TBCD) UnmarshalJSON ¶
UnmarshalJSON provide custom marshaller