hexutils

package
v0.0.0-...-8d18b63 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2019 License: MPL-2.0 Imports: 4 Imported by: 0

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