util

package
v9.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeByteString

func DecodeByteString(s string) []byte

DecodeByteString converts a unicode string into a byte slice where each byte is one code point

func EncodeByteString

func EncodeByteString(b []byte) string

EncodeByteString converts a slice of bytes into a string where every byte is an escaped unicode codepoint, ex. 255 -> '\u00ff'

Types

This section is empty.

Jump to

Keyboard shortcuts

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