pcutil

package
v0.0.0-...-46f88e6 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bint

func Bint(x bool) int

func HashCompress

func HashCompress(out, in []byte)

func HashCompress64

func HashCompress64(out, in []byte)

func HashExpand

func HashExpand(out, key []byte, counter uint32)

func IsZero

func IsZero(x []byte) bool

func Log2ceil

func Log2ceil(x uint64) int

Log2ceil returns the ceiling(log2(x))

func Log2floor

func Log2floor(x uint64) int

Log2floor returns floor(log2(x))

func Memset

func Memset(x []byte, y byte)

func Reverse

func Reverse(x []byte)

Reverse reverses the order of the bytes in a slice

func Zero

func Zero(x []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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