Method | Description | |
---|---|---|
compress ( object obj ) : byte[] |
Compress a serializable object to an array of bytes
|
|
decompress ( byte bytes ) : object |
Decompress an object compressed with the gov.va.medora.utils.Compression.compress function
|
public compress ( object obj ) : byte[] | ||
obj | object | The serializable object to compress |
return | byte[] |
public decompress ( byte bytes ) : object | ||
bytes | byte | The binary representation of the compressed object returned by the compress function |
return | object |