bytesutil

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone added in v1.3.7

func Clone(b []byte) []byte

Clone returns a copy of b.

func CloneSlice added in v1.3.7

func CloneSlice(a [][]byte) [][]byte

CloneSlice returns a copy of a slice of byte slices.

func Intersect

func Intersect(a, b [][]byte) [][]byte

Intersect returns the intersection of a & b in sorted order.

func IsSorted

func IsSorted(a [][]byte) bool

func SearchBytes

func SearchBytes(a [][]byte, x []byte) int

func Sort

func Sort(a [][]byte)

Sort sorts a slice of byte slices.

func Union

func Union(a, b [][]byte) [][]byte

Union returns the union of a & b in sorted order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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