API reference / @evolu/common / Evolu/Protocol / base64Url256ToBytes
Function: base64Url256ToBytes()
function base64Url256ToBytes(string): Uint8Array;
Defined in: packages/common/src/Evolu/Protocol.ts:1464
Converts a Base64Url string to a Uint8Array for binary storage. This encoding is more space-efficient than UTF-8 for Base64Url strings.
Parameters
Parameter | Type |
---|---|
string | Base64Url256Variant |
Returns
Uint8Array