diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-02-09T14·09+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-02-10T10·33+0100 |
commit | a596c525ad3ca86226cdb8094b91a578b23c1dae (patch) | |
tree | 04e09211da695cc2d2d72eac119be18dbd370c1c /src/libutil/util.hh | |
parent | 70cae879e3c3f5c3fba906ba5ec220f84cff1d61 (diff) |
Add base64 encoder/decoder
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r-- | src/libutil/util.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 1a2dda527121..20330fb7699e 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -398,4 +398,9 @@ void ignoreException(); string filterANSIEscapes(const string & s, bool nixOnly = false); +/* Base64 encoding/decoding. */ +string base64Encode(const string & s); +string base64Decode(const string & s); + + } |