encodePic {RMSNumpress} | R Documentation |
Encodes ion counts by simply rounding to the nearest 4 byte integer, and compressing each integer with encodeInt.
encodePic(data)
data |
pointer to array of double to be encoded (need memorycont. repr.) |
The handleable range is therefore 0 -> 4294967294. The resulting binary is maximally dataSize * 5 bytes, but much less if the data is close to 0 on average.
the number of encoded bytes