util

package
v0.0.0-...-8671a8c Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToString

func BytesToString(buf []byte) (str string)

If you know for sure that the byte slice won't be mutated, you won't get bounds (or GC) issues with the above conversions.

func StringToBytes

func StringToBytes(str string) (buf []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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