encodePic {RMSNumpress}R Documentation

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.)

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.

Value

the number of encoded bytes

See Also

[decodePic]


[Package RMSNumpress version 1.0.1 Index]