RMS.Util.compressByteArray()

Signature

String compressByteArray (Object contents)

Domain

Description

Compress contents in the form of bytes, and return the string representation

Parameters

NameTypeDescription
contentsObjectThe contents to compress
needsCompressionbooleanA boolean indicating whether any compression is needed.

Returns

TypeDescription
StringCompressed contents as string

Cautions

none