Converts a Query object to a Base64-encoded string.
First utilizes the toBytes method of the Query instance to obtain its binary Uint8Array representation.
Then encodes the binary Uint8Array to a Base64 string representation.
Type Parameters
T
Q extends default<T>
Parameters
query: Q
A Query object to be converted
Returns string
Base64 encoded representation of the input Query object
Converts a
Query
object to a Base64-encoded string. First utilizes thetoBytes
method of theQuery
instance to obtain its binaryUint8Array
representation. Then encodes the binaryUint8Array
to a Base64 string representation.