predefine

package
v0.0.0-...-52763cd Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Uint2bytes = BigEndian.Uint2bytes
	Int2bytes  = BigEndian.Int2bytes
	Bytes2int  = BigEndian.Bytes2int
	Bytes2uint = BigEndian.Bytes2uint

	Int2PackedDecimal = BigEndian.Int2PackedDecimal
	PackedDecimal2Int = BigEndian.PackedDecimal2Int
)
View Source
var BigEndian bigEndian
View Source
var LittleEndian littleEndian

Functions

func EndianWrapper

func EndianWrapper(b []byte) []byte

EndianWrapper CIC is BigEndian (maybe...). just to be sure, for test endian wrapper

func RemoveEscapeSequence

func RemoveEscapeSequence(a string) string

func ToHex

func ToHex(a string) (h []string)

func ToJis

func ToJis(s string) (string, error)

func ToNFC

func ToNFC(s string) string

func ToNFD

func ToNFD(s string) string

func ToNarrow

func ToNarrow(s string) string

func ToUtf8

func ToUtf8(s string) (string, error)

func ToWiden

func ToWiden(s string) string

Types

type Blank

type Blank int

type Ebcdic

type Ebcdic string

type Hex

type Hex uint

type PackedDecimal

type PackedDecimal uint

type StructConverter

type StructConverter interface {
	StructEncoder
	StructDecoder
}

type StructDecoder

type StructDecoder interface {
	Decode(*bytes.Buffer) error
}

type StructEncoder

type StructEncoder interface {
	Encode(*bytes.Buffer) error
}

Jump to

Keyboard shortcuts

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