cp437

package
v0.0.0-...-a0f82c1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package cp437 provides conversions between IBM code page 437 and UTF-8.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Byte

func Byte(r rune) byte

Byte takes a Unicode code point and returns the corresponding CP437 byte, or '?' if there is no corresponding CP437 byte.

func Bytes

func Bytes(s string) []byte

Bytes takes a UTF-8-encoded string and returns a CP437-encoded byte slice.

func NewReader

func NewReader(r io.Reader) io.Reader

NewReader returns an io.Reader that reads from r and converts CP437-encoded data to UTF-8-encoded data.

func Rune

func Rune(b byte) rune

Rune takes a CP437 byte and returns a Unicode code point.

func String

func String(b []byte) string

String takes a CP437-encoded byte slice and returns a UTF-8-encoded string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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