Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Charmap ¶
type Charmap struct {
// contains filtered or unexported fields
}
var EbcdicNec *Charmap = &ebcdicNec
EbcdicNec is the ebcdic-nec encoding.
var EbcdicNecLfNlAlt *Charmap = &ebcdicNecLfNlAlt
EbcdicNecLfNlAlt is the ebcdic-nec-lf-nl-alt encoding.
var Ebcdik *Charmap = &ebcdik
Ebcdik is the ebcdik encoding.
var EbcdikLfNlAlt *Charmap = &ebcdikLfNlAlt
EbcdikLfNlAlt is the ebcdik-lf-nl-alt encoding.
var Ibm290 *Charmap = &ibm290
Ibm290 is the ibm290 encoding.
var Ibm290HitachiFlavored *Charmap = &ibm290HitachiFlavored
Ibm290HitachiFlavored is the ibm290-hitachi-flavored encoding.
var Ibm290Tilde *Charmap = &ibm290Tilde
Ibm290Tilde is the ibm290-tilde encoding.
var Ibm298 *Charmap = &ibm298
Ibm298 is the ibm298 encoding.
var Ibm298Backslash *Charmap = &ibm298Backslash
Ibm298Backslash is the ibm298-backslash encoding.
var Ibm298HitachiFlavored *Charmap = &ibm298HitachiFlavored
Ibm298HitachiFlavored is the ibm298-hitachi-flavored encoding.
func (*Charmap) DecodeByte ¶
DecodeByte returns the Charmap's rune decoding of the byte b.
func (*Charmap) EncodeRune ¶
EncodeRune returns the Charmap's byte encoding of the rune r. ok is whether r is in the Charmap's repertoire. If not, b is set to the Charmap's replacement byte. This is often the ASCII substitute character '\x1a'.
func (*Charmap) NewDecoder ¶
NewDecoder implements the encoding.Encoding interface.
func (*Charmap) NewEncoder ¶
NewEncoder implements the encoding.Encoding interface.