cpg

package
v0.0.0-...-ae93dba Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharacterEncoding

type CharacterEncoding uint
const (
	// EncodingUnknown represents any unknown or unsupported character encodings.
	EncodingUnknown CharacterEncoding = iota
	// EncodingASCII is ASCII encoding.
	EncodingASCII
	// EncodingUTF8 is UTF-8 encoding.
	EncodingUTF8
)

func Read

func Read(r io.Reader) (CharacterEncoding, error)

Read a .cpg file containing a character encoding.

func (CharacterEncoding) String

func (e CharacterEncoding) String() string

String name of encoding.

Jump to

Keyboard shortcuts

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