Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address string
func (Address) MarshalBinary ¶
func (Address) MarshalText ¶
func (*Address) UnmarshalBinary ¶
func (*Address) UnmarshalText ¶
type AdministrativeData ¶
type AdministrativeData struct {
MNCLength int
}
func (*AdministrativeData) UnmarshalBinary ¶
func (ad *AdministrativeData) UnmarshalBinary(data []byte) error
type BCD ¶
type BCD []byte
BCD stores hexadecimal digits with each byte's nibbles swapped. Trailing F nibbles are padding; F digits elsewhere are preserved.
func (BCD) MarshalBinary ¶
func (BCD) MarshalText ¶
func (*BCD) UnmarshalBinary ¶
func (*BCD) UnmarshalText ¶
type EFDirRecord ¶
func (EFDirRecord) MarshalBinary ¶
func (rec EFDirRecord) MarshalBinary() ([]byte, error)
func (*EFDirRecord) UnmarshalBinary ¶
func (rec *EFDirRecord) UnmarshalBinary(data []byte) error
type FCI ¶
type FCI struct {
FileStructure FileStructure
FileType FileType
RecordSize uint16
RecordCount byte
FileSize uint16
}
func (FCI) MarshalBinary ¶
func (*FCI) UnmarshalBinary ¶
type FileStructure ¶
type FileStructure byte
const ( StructureTransparent FileStructure = 0x41 StructureLinearFixed FileStructure = 0x42 )
type ICCID ¶
type ICCID string
func (ICCID) MarshalBinary ¶
func (ICCID) MarshalText ¶
func (*ICCID) UnmarshalBinary ¶
func (*ICCID) UnmarshalText ¶
type IMSI ¶
func (IMSI) MarshalBinary ¶
func (IMSI) MarshalText ¶
func (*IMSI) UnmarshalBinary ¶
func (*IMSI) UnmarshalText ¶
type SMSC ¶
type SMSC string
func (SMSC) MarshalText ¶
func (*SMSC) UnmarshalBinary ¶
func (*SMSC) UnmarshalText ¶
type ServiceProviderName ¶
type ServiceProviderName string
func (ServiceProviderName) MarshalText ¶
func (n ServiceProviderName) MarshalText() ([]byte, error)
func (ServiceProviderName) String ¶
func (n ServiceProviderName) String() string
func (*ServiceProviderName) UnmarshalBinary ¶
func (n *ServiceProviderName) UnmarshalBinary(data []byte) error
func (*ServiceProviderName) UnmarshalText ¶
func (n *ServiceProviderName) UnmarshalText(text []byte) error
type Text ¶
type Text string
func (Text) MarshalText ¶
func (*Text) UnmarshalBinary ¶
func (*Text) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.