encoding

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToHexString added in v1.3.8

func BytesToHexString(bytes []byte) (result string)

BytesToHexString converts a byte slice to a hex encoded string

func HexStringToBytes added in v1.3.8

func HexStringToBytes(v interface{}) (result []byte, err error)

HexStringToBytes converts a hex encoded string (but as go type interface{}) to a byteslice If v is no valid string or the string contains invalid characters, an error is returned

Types

This section is empty.

Jump to

Keyboard shortcuts

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