Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ASCIIHexToBytes = &asciiToHexEncoder{}
ASCII To HEX encoder
View Source
var BytesToASCIIHex = &hexToASCIIEncoder{}
HEX to ASCII encoder
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder interface { Encode([]byte) ([]byte, error) // Returns data decoded into ASCII (or bytes), how many bytes were read, error Decode([]byte, int) (data []byte, read int, err error) }
var ASCII Encoder = &asciiEncoder{}
var BCD Encoder = &bcdEncoder{}
var BerTLVTag Encoder = &berTLVEncoderTag{}
BER-TLV Tag encoder
var Binary Encoder = &binaryEncoder{}
var EBCDIC Encoder = &ebcdicEncoder{}
var EBCDIC1047 Encoder = &ebcdic1047Encoder{ encoder: charmap.CodePage1047.NewEncoder(), decoder: charmap.CodePage1047.NewDecoder(), }
EBCDIC1047 is an encoder for EBCDIC characters using IBM Code Page 1047.
var LBCD Encoder = &lBCDEncoder{}
Click to show internal directories.
Click to hide internal directories.