Convert raw values to numeric.
rawToNum(x, nBytes = 1)
A raw vector to be converted
The number of bytes to use
A numeric value containing the bytes in x.
# Will be left null padded
(x <- numToRaw(421,4))
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.