Bytes
An immutable object representing an array of bytes.
class Bytes {}
§Methods
§
toBase64(): string
[src]Returns the underlying bytes as a Base64-encoded string.
@return
The Base64-encoded string created from the Bytes object.
§
toString(): string
[src]Returns a string representation of the Bytes object.
@return
A string representation of the Bytes object.
§
toUint8Array(): Uint8Array
[src]Returns the underlying bytes in a new Uint8Array.
@return
The Uint8Array created from the Bytes object.