new Bytes(value)
FaunaDB bytes. See the docs.
Parameters:
Name | Type | Description |
---|---|---|
value |
Uint8Array | ArrayBuffer | string | If ArrayBuffer it's converted to Uint8Array If string it must be base64 encoded and it's converted to Uint8Array |