utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToString

func BytesToString(raw []byte) string

StringToBytes converts []byte to string without memory copy

func CopyBytes

func CopyBytes(b []byte) (copiedBytes []byte)

CopyBytes returns an exact copy of the provided bytes.

func ReverseBytes

func ReverseBytes(value [][]byte) [][]byte

func ReverseInts

func ReverseInts(value []int) []int

func StringToBytes

func StringToBytes(str string) []byte

StringToBytes converts string to []byte without memory copy

Types

This section is empty.

Jump to

Keyboard shortcuts

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