Name | Description |
---|---|
JSON |
Name | Description |
---|---|
JSON |
Name | Signature and Synopsis |
---|---|
compressByteArray | String compressByteArray (Object contents) Compress contents in the form of bytes, and return the string representation |
compressString | String compressString (String largeString) Compress large string contents and return the result |
decompressBytes | Object decompressBytes (Object compressedContent) UnCompress compressed large byte contents and return the result bytes. |
decompressString | String decompressString (String largeString) UnCompress compressed large string contents and return the result |
needsCompression | boolean needsCompression(Object contents) Returns a boolean on whether the contents needs compression |
writeToFile | void writeToFile(String filePath, Object contents) Writes byte contents to a file specified by the absolute path |