slice

package
v0.98.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 0 Imported by: 6

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