utils

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 Utf8decodeBytes

func Utf8decodeBytes(src []byte) []byte

func Utf8decodeString

func Utf8decodeString(byteString string) string

func Utf8encodeBytes

func Utf8encodeBytes(src []byte) []byte

func Utf8encodeString

func Utf8encodeString(src string) string

func Utf16Count

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

func Utf16CountString

func Utf16CountString(src string) (n int)

func Utf16Len

func Utf16Len(v rune) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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