This repository provides a kdb library for Base64 encoding and decoding.
NOTE: This library requires the shared object libkdbbase64.so
provided by the kdb-base64-lib repository. Please ensure that this object is available in your target environment.
This library has been written for use with the kdb-common set of libraries.
See kdb-base64-lib for build instructions
The 2 functions provided by this library are:
.b64.encode
: Base64 encoder- Behaves the same as
.Q.btoa
- Behaves the same as
.b64.decode
: Base64 decoder
Both functions expect a string (10h
) argument and will return a string.