decodePic: decodePic

Description Usage Arguments Details Value See Also

View source: R/RcppExports.R

Description

Decodes data encoded by encodePic

result vector guaranteed to be shorter of equal to |data| * 2

Usage

1

Arguments

data

pointer to array of bytes to be decoded (need memorycont. repr.)

Details

Note that this method may throw a const char* if it deems the input data to be corrupt, i.e. that the last encoded int does not use the last byte in the data. In addition the last encoded int need to use either the last halfbyte, or the second last followed by a 0x0 halfbyte.

Value

the number of decoded doubles

See Also

[encodePic]


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