Write Arrow data to a raw vectorSource:
write_feather() write data to a sink and return
the data (
Table) they were given.
This function wraps those so that you can serialize data to a buffer and
access that buffer as a
raw vector in R.
write_to_raw(x, format = c("stream", "file"))