utils

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0, BSD-2-Clause, MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertByteSliceToString

func ConvertByteSliceToString(arr []byte) string

Convert a byte array to string w/o copy.

WARNING: The input byte slice is not expected to change.

func ConvertStringToByteSlice

func ConvertStringToByteSlice(s string) (arr []byte)

Convert a string to byte array w/o copy.

WARNING: The returned byte slice is not expected to change.

Types

This section is empty.

Jump to

Keyboard shortcuts

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