uconv

package
v0.0.0-...-cc996d8 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Zlib Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PanicReader

type PanicReader func(n int) []byte

type Utf16BeTo8

type Utf16BeTo8 struct{}

func (Utf16BeTo8) Prefix1

func (code Utf16BeTo8) Prefix1(r PanicReader) (int, string)

func (Utf16BeTo8) Prefix2

func (code Utf16BeTo8) Prefix2(r PanicReader) (int, string)

func (Utf16BeTo8) ToBuffer

func (code Utf16BeTo8) ToBuffer(s []byte, coded *bytes.Buffer)

func (Utf16BeTo8) ToBytes

func (code Utf16BeTo8) ToBytes(s []byte) []byte

func (Utf16BeTo8) ToString

func (code Utf16BeTo8) ToString(s []byte) string

type Utf16LeTo8

type Utf16LeTo8 struct{}
var Decode Utf16LeTo8

func (Utf16LeTo8) Prefix1

func (code Utf16LeTo8) Prefix1(r PanicReader) (int, string)

func (Utf16LeTo8) Prefix2

func (code Utf16LeTo8) Prefix2(r PanicReader) (int, string)

func (Utf16LeTo8) ToBuffer

func (code Utf16LeTo8) ToBuffer(s []byte, coded *bytes.Buffer)

func (Utf16LeTo8) ToBytes

func (code Utf16LeTo8) ToBytes(s []byte) []byte

func (Utf16LeTo8) ToString

func (code Utf16LeTo8) ToString(s []byte) string

type Utf8To16Le

type Utf8To16Le struct{}
var Encode Utf8To16Le

func (Utf8To16Le) FromBytes

func (code Utf8To16Le) FromBytes(s []byte) []byte

func (Utf8To16Le) FromString

func (code Utf8To16Le) FromString(s string) []byte

func (Utf8To16Le) ToBuffer

func (code Utf8To16Le) ToBuffer(s []byte, coded *bytes.Buffer)

Jump to

Keyboard shortcuts

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