Learn R Programming

bmp (version 0.3)

ConvertIntToUInt: Fix a 32 bit unsigned integer that has been read as signed

Description

This is really just to fix a limitation of readBin/R's 32 bit signed ints

Usage

ConvertIntToUInt(x, adjustment = 2^32)

Arguments

x

Number to be fixed

adjustment

number to be added to convert to uint32 (2^32 by default)

Value

numeric value of uint32

See Also

readBin