Documentation
¶
Overview ¶
Package xhex implements high-performance hexadecimal encoding and decoding. On AVX2-capable x86_64 CPUs, xhex enables SIMD acceleration at runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLength = errors.New("encoding/hex: odd length hex string")
ErrLength reports an attempt to decode an odd-length input using Decode or DecodeString. The stream-based Decoder returns io.ErrUnexpectedEOF instead of ErrLength.
Functions ¶
Types ¶
type InvalidByteError ¶
type InvalidByteError byte
InvalidByteError values describe errors resulting from an invalid byte in a hex string.
func (InvalidByteError) Error ¶
func (e InvalidByteError) Error() string
Click to show internal directories.
Click to hide internal directories.