"Create a new byte string. Depending on the encoding, there are different arguments to pass:
For UTF-8 strings:
Pass the string as the only argument. For example, new Bytes("content").
For base16, base32, or base64 strings:
Pass the base as the first argument and the string as the second argument. For example,
new Bytes("base16", "636F6E74656E74"), new Bytes("base32", "ORFDPQ6ARJK"),
new Bytes("base64", "Y29udGVudA==").
Special case for base16:
The prefix "0x" may be present in a base16 byte string. For example,
new Bytes("base16", "0x636F6E74656E74").
`
Generated using TypeDoc
An expression that represents a byte string.