This is a wrapper function of readBin()
with default arguments
what = "raw"
and n =
file.size
(file)
, which means it
will read the full content of a binary file as a raw vector by default.
read_bin(file, what = "raw", n = file.info(file)$size, ...)
Arguments to be passed to readBin()
.
A vector returned from readBin()
.