slice

package
v0.99.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 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 Copy

func Copy(b []byte) []byte

Copy copies the byte slice into new slice (make/copy).

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