util

package
v10.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: MIT Imports: 3 Imported by: 22

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