The Conroy & Conroy Subroutine Library (2021.3 edition)

RLN_Compress
What: function
File: Compress
Layer: 1
Platforms: C++, C#, Javascript, Pascal (Object), PHP, Python
C++ Format: RLN_Compress( int64 Value ; PSStream Stream )
Pascal format: RLN_Compress( Value : int64 ; Stream : PSStream ) : int64
Note: In pre-Delphi Pascal, the value is an int32

This function compresses the passed value, writing the compressed value to the stream. RLN_Decompress can be used to retrieve and decompress the value from the stream.