FT Data Squasher
Data compression and decompression support, packing base64 into UTF8 high and
low bytes.
A requireable module of the compression and decompression algorithm
described by @triblondon.
- Copyright:
- The Financial Times Limited [All rights reserved]
- Source:
Methods
-
<inner> compress(data)
-
Squash the (assumed base 64 encoded) string using the algorithm
Parameters:
Name Type Description data
string The un-squashed string - Source:
Returns:
string -
<inner> decompress(data)
-
Unsquaash the data using the algorithm
Parameters:
Name Type Description data
string The compressed data to uncompress - Source:
Returns:
string