Learn R Programming

RMSNumpress (version 1.0.1)

encodePic: encodePic

Description

Encodes ion counts by simply rounding to the nearest 4 byte integer, and compressing each integer with encodeInt.

Usage

encodePic(data)

Arguments

data

pointer to array of double to be encoded (need memorycont. repr.)

Value

the number of encoded bytes

Details

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.

See Also

[decodePic]