MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / UintToHex

Function UintToHex

pkg/util/format/format.go:27–27  ·  view source on GitHub ↗

UintToHex converts an unsigned wide integer to hex string.

(v uint64)

Source from the content-addressed store, hash-verified

25
26// UintToHex converts an unsigned wide integer to hex string.
27func UintToHex(v uint64) string { return strconv.FormatUint(v, 16) }
28
29// BytesToHex converts a byte slice to hex representation
30func BytesToHex(b []byte) string { return fmt.Sprintf("%X", b) }

Callers 1

parseFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected