charmap

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

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

func (m *Charmap) DecodeByte(b byte) rune

DecodeByte returns the Charmap's rune decoding of the byte b.

func (*Charmap) EncodeRune

func (m *Charmap) EncodeRune(r rune) (b byte, ok bool)

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

func (m *Charmap) NewDecoder() *encoding.Decoder

NewDecoder implements the encoding.Encoding interface.

func (*Charmap) NewEncoder

func (m *Charmap) NewEncoder() *encoding.Encoder

NewEncoder implements the encoding.Encoding interface.

func (*Charmap) String

func (m *Charmap) String() string

String returns the Charmap's name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL