Documentation ¶
Index ¶
- type DataCoding
- func (c DataCoding) Encoding() Encoding
- func (c DataCoding) GoString() string
- func (c DataCoding) MessageClass() (coding DataCoding, class int)
- func (c DataCoding) MessageWaitingInfo() (coding DataCoding, active bool, kind int)
- func (c DataCoding) Splitter() Splitter
- func (c DataCoding) String() string
- func (c DataCoding) Validate(input string) bool
- type Splitter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataCoding ¶
type DataCoding byte
const ( GSM7BitCoding DataCoding = 0b00000000 // GSM 7Bit ASCIICoding DataCoding = 0b00000001 // ASCII Latin1Coding DataCoding = 0b00000011 // ISO-8859-1 (Latin-1) ShiftJISCoding DataCoding = 0b00000101 // Shift-JIS CyrillicCoding DataCoding = 0b00000110 // ISO-8859-5 (Cyrillic) HebrewCoding DataCoding = 0b00000111 // ISO-8859-8 (Hebrew) UCS2Coding DataCoding = 0b00001000 // UCS-2 ISO2022JPCoding DataCoding = 0b00001010 // ISO-2022-JP EUCJPCoding DataCoding = 0b00001101 // Extended Kanji JIS (X 0212-1990) EUCKRCoding DataCoding = 0b00001110 // KS X 1001 (KS C 5601) NoCoding DataCoding = 0b10111111 // Reserved (Non-specification definition) )
func BestCoding ¶
func BestCoding(input string) DataCoding
func BestSafeCoding ¶
func BestSafeCoding(input string) DataCoding
func (DataCoding) Encoding ¶
func (c DataCoding) Encoding() Encoding
func (DataCoding) GoString ¶
func (c DataCoding) GoString() string
func (DataCoding) MessageClass ¶
func (c DataCoding) MessageClass() (coding DataCoding, class int)
func (DataCoding) MessageWaitingInfo ¶
func (c DataCoding) MessageWaitingInfo() (coding DataCoding, active bool, kind int)
func (DataCoding) Splitter ¶
func (c DataCoding) Splitter() Splitter
func (DataCoding) String ¶
func (c DataCoding) String() string
func (DataCoding) Validate ¶
func (c DataCoding) Validate(input string) bool
Click to show internal directories.
Click to hide internal directories.