get_short: Flexibly (big/little endian, signed/unsigned) convert two raw...

View source: R/RcppExports.R

get_shortR Documentation

Flexibly (big/little endian, signed/unsigned) convert two raw bytes to short

Description

Flexibly (big/little endian, signed/unsigned) convert two raw bytes to short

Usage

get_short(x, i1, i2, is_signed)

Arguments

x

the bytes (RawVector) from which to extract the short

i1

integer. The index of the first byte

i2

integer. The index of the second byte

is_signed

boolean. Return a signed value?


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