unicode

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: CC0-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadUtf16Char

func ReadUtf16Char(endian Endian, buf *bufio.Reader) (rune, []byte, error)

func ReadUtf32Char

func ReadUtf32Char(endian Endian, buf *bufio.Reader) (rune, []byte, error)

func ReadUtf8Char

func ReadUtf8Char(buf *bufio.Reader) (rune, []byte, error)

Types

type Endian

type Endian int
const (
	BigEndian Endian = iota
	LittleEndian
)

type InvalidSequenceErr

type InvalidSequenceErr struct {
	// contains filtered or unexported fields
}

func (*InvalidSequenceErr) Error

func (e *InvalidSequenceErr) Error() string

func (*InvalidSequenceErr) Sequences

func (e *InvalidSequenceErr) Sequences() []byte

type UnexpectedEofErr

type UnexpectedEofErr struct{}

func (*UnexpectedEofErr) Error

func (*UnexpectedEofErr) Error() string

type UnknownEndianErr

type UnknownEndianErr struct{}

func (*UnknownEndianErr) Error

func (*UnknownEndianErr) Error() string

Jump to

Keyboard shortcuts

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