bs

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package bs provides a few handy bytes/string functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToString

func BytesToString(b []byte) string

BytesToString converts byte slice to a string without any memory allocation.

func StringToBytes

func StringToBytes(s string) []byte

StringToBytes converts string to a byte slice without any memory allocation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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