Bytes()
Convert a Base64-encoded string to an FQL Bytes value.
Description
Converts a Base64-encoded string to an FQL Bytes value. A Bytes value stores a byte array, represented as a Base64-encoded string. You can use Bytes to store binary data in a Fauna database.
This method is equivalent to
Bytes.fromBase64()
.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
encoded |
true |
Base64-encoded string representing a byte array. |