To Z85, base85 (toz85)
How does it work in the search window?
This operation needs only one argument:
The data type of the new column is string.
We want to transform the values in our bytesTransferred column in the
demo.ecommerce.data table into byte arrays, and then transform them into Z85 strings. First, use the Make byte array operation to add a new column that transforms the integer values in the bytesTransferred column into byte arrays (byteArray column). Then add a new column using the To Z85, base85 operation. The arguments needed are:
- Boxar - byteArray column
Click Create column and after applying the operation, you will see the following results:
How does it work in LINQ?
Use the operator
as... and add the operation syntax to create the new column. This is the syntax of the To Z85, base85 operation:
Copy the following LINQ script and try the previous example on the
from demo.ecommerce.data select mkboxar(bytesTransferred) as byteArray, toz85(byteArray) as Z85string