fastconv

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(str string) []byte

Quickly convert a string to a slice of bytes. The str argument can be nil. Must not be used if the returned slice may change.

func String

func String(bytes []byte) string

Quickly convert a slice of bytes to a string. The bytes argument can be nil. Must not be used if the passed slice may change.

Types

This section is empty.

Jump to

Keyboard shortcuts

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