utils

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUtf8Decoder

func NewUtf8Decoder(r io.Reader) io.Reader

func NewUtf8Encoder

func NewUtf8Encoder(w io.Writer) io.Writer

NewEncoder returns an io.Writer that writes lowercase hexadecimal characters to w.

func Utf16Count

func Utf16Count(src []byte) (n int)

func Utf16CountString

func Utf16CountString(src string) (n int)

func Utf16Len

func Utf16Len(v rune) int

func Utf8decodeBytes

func Utf8decodeBytes(src []byte) (dst []byte)

func Utf8decodeString

func Utf8decodeString(byteString string) string

func Utf8encodeBytes

func Utf8encodeBytes(src []byte) []byte

func Utf8encodeString

func Utf8encodeString(src string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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