coding

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeHex added in v1.2.2

func DecodeHex(in string) ([]byte, error)

func NormalizeBytesToHex added in v1.2.2

func NormalizeBytesToHex(input []byte) string

func NormalizeMaybeEmptyBytes added in v1.2.2

func NormalizeMaybeEmptyBytes(bytes []byte) string

Returns an empty byte slice rather than no output for empty byte arrays

func PayloadFingerprint added in v1.2.2

func PayloadFingerprint(payload []byte) string

PayloadFingerprint pretty prints a hex payload in an identifiable and succint way.

func UnsafeHexToBytes

func UnsafeHexToBytes(input string) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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