encodePic: encodePic

Description Usage Arguments Details Value See Also

View source: R/RcppExports.R

Description

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

Usage

1

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]


RMSNumpress documentation built on Feb. 5, 2021, 1:07 a.m.