Function z85Encode
Encodes a binary key as Z85 printable text.
char[] z85Encode
(
ubyte[] data,
char[] dest
) @safe;
char[] z85Encode
(
ubyte[] data
) @safe;
dest
must be an array whose length is at least 5*data
,
which will be used to store the return value plus a terminating zero byte.
If dest
is omitted, a new array will be created.
Returns
An array of size 5*data
which contains the Z85-encoded text,
excluding the terminating zero byte. This will be a slice of dest
if
it is provided.
Throws
core
if dest
is given but is too small.
ZmqException
if ZeroMQ reports an error (i.e., if data
is not a multiple of 4).