Learn R Programming

nanoparquet (version 0.4.2)

rle_decode_int: RLE decode integers

Description

RLE decode integers

Usage

rle_decode_int(
  x,
  bit_width = attr(x, "bit_width"),
  length = attr(x, "length") %||% NA
)

Value

The decoded integer vector.

Arguments

x

Raw vector of the encoded integers.

bit_width

Bit width used for the encoding.

length

Length of the output. If NA then we assume that x starts with length of the output, encoded as a 4 byte integer.

See Also

rle_encode_int()

Other encodings: rle_encode_int()