Bytes.Format.Literal formats Bytes as they could appear in Savi source code.
That is, as a string literal with the b prefix and non-printable bytes escaped.
Bytes.Format.HexDump formats Bytes into a "hex dump", much like the output
of the xxd command-line utility found on many UNIX platforms.
This latter format shows addresses, hex bytes, and corresponding ASCII characters,
in a way that is intended to facilitate debugging of large data sequences.
Bytes.Format.Literal
formatsBytes
as they could appear in Savi source code. That is, as a string literal with theb
prefix and non-printable bytes escaped.Bytes.Format.HexDump
formatsBytes
into a "hex dump", much like the output of thexxd
command-line utility found on many UNIX platforms.This latter format shows addresses, hex bytes, and corresponding ASCII characters, in a way that is intended to facilitate debugging of large data sequences.