Displaying 1 result from an estimated 1 matches for "text_read".
Did you mean:
ext_read
2005 Aug 17
0
Raw data type transformations
...eadBin()/writeBin().
Looking at the text connection code, it seems to me that it could be
extended to handle this fairly easily. For input connections, it
appears that all that needs to be done is to add support for filling
the internal buffer from a raw vector (a few lines of code), and
adding a text_read() function (again just a few lines). For output,
text_write() is similarly simple, and a few lines of code would need
to be added to text_vfprintf() to handle copying to a raw vector in
place of a character vector.
The text_* functions would then probably be better named internal_*
since they wou...