RMS.Util

Categories

NameDescription
JSON

Functions

NameSignature and Synopsis
compressByteArrayString compressByteArray (Object contents)
Compress contents in the form of bytes, and return the string representation
compressStringString compressString (String largeString)
Compress large string contents and return the result
decompressBytesObject decompressBytes (Object compressedContent)
UnCompress compressed large byte contents and return the result bytes.
decompressStringString decompressString (String largeString)
UnCompress compressed large string contents and return the result
needsCompressionboolean needsCompression(Object contents)
Returns a boolean on whether the contents needs compression
writeToFilevoid writeToFile(String filePath, Object contents)
Writes byte contents to a file specified by the absolute path