hexutils

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MPL-2.0 Imports: 4 Imported by: 170

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToHex

func BytesToHex(b []byte) string

BytesToHex returns an hex string of b.

func BytesToHexWithSpaces

func BytesToHexWithSpaces(b []byte) string

BytesToHexWithSpaces returns an hex string of b adding spaces between bytes.

func HexToBytes

func HexToBytes(s string) []byte

HexToBytes convert a hex string to a byte sequence. The hex string can have spaces between bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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