commit | c01062beadca35d065088d397bbad1afd01c4b7e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 07 19:27:29 2010 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Oct 30 19:04:33 2010 +0200 |
tree | d6079aba5e990aa5bc9b74edd2a43c4868a948a3 | |
parent | f1348310e8205f49e65eb84e3c344188ff38232f [diff] |
[MINOR] add encode/decode function for 30-bit integers from/to base64 These functions only require 5 chars to encode 30 bits, and don't expect any padding. They will be used to encode dates in cookies. (cherry picked from commit a7e2b5fc4612994c7b13bcb103a4a2c3ecd6438a)