get_int12: Extract a 12-bit integer from two bytes

View source: R/RcppExports.R

get_int12R Documentation

Extract a 12-bit integer from two bytes

Description

Extract a 12-bit integer from two bytes

Usage

get_int12(x, i1, i2, full_first)

Arguments

x

the bytes (RawVector) from which to extract the integer

i1

integer. The index of the first byte

i2

integer. The index of the second byte

full_first

boolean. Use the full first byte and half of the second?


AGread documentation built on Sept. 13, 2022, 5:06 p.m.