Convert input to a length-1 character vector.
input_to_raw(input)
Character vector length 1
'Raw' vector
If input is a reference to a file, the number of bytes corresponding to the size is read. If it is an URL, the URL is read and converted to a 'Raw' vector. The function does not catch errors.