This function converts a raw vector to a 64-bit integer,
handling both signed and unsigned conversions.
Usage
seasonder_raw_to_int(r, signed = FALSE)
Arguments
- r
A raw vector to be converted.
- signed
Logical, indicating whether the conversion should consider the value as signed (default is FALSE for unsigned).
Value
A 64-bit integer representation of the raw vector.