slice

package
v0.106.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 0 Imported by: 5

Documentation

Overview

Package slice contains byte slice helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean added in v0.99.3

func Clean(b []byte)

Clean wipes the data in b by filling it with zeros.

func CopyReverse

func CopyReverse(b []byte) []byte

CopyReverse returns a new byte slice containing reversed version of the original.

func Reverse

func Reverse(b []byte)

Reverse does in-place reversing of byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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