package
1.24.4
Repository: https://pkg.go.dev/std
Documentation: pkg.go.dev

# Functions

AppendDecode appends the hexadecimally decoded src to dst and returns the extended buffer.
AppendEncode appends the hexadecimally encoded src to dst and returns the extended buffer.
Decode decodes src into [DecodedLen](len(src)) bytes, returning the actual number of bytes written to dst.
DecodedLen returns the length of a decoding of x source bytes.
DecodeString returns the bytes represented by the hexadecimal string s.
Dump returns a string that contains a hex dump of the given data.
Dumper returns a [io.WriteCloser] that writes a hex dump of all written data to w.
Encode encodes src into [EncodedLen](len(src)) bytes of dst.
EncodedLen returns the length of an encoding of n source bytes.
EncodeToString returns the hexadecimal encoding of src.
NewDecoder returns an [io.Reader] that decodes hexadecimal characters from r.
NewEncoder returns an [io.Writer] that writes lowercase hexadecimal characters to w.

# Variables

ErrLength reports an attempt to decode an odd-length input using [Decode] or [DecodeString].

# Type aliases

InvalidByteError values describe errors resulting from an invalid byte in a hex string.