This was requested by Formal Comment #424.
These procedures would be provided for parallelism with the byte-vector I/O operations:
Byte |
Character |
Bytevector |
String |
read-u8 |
read-char |
read-bytevector(!) |
read-string(!) |
write-u8 |
write-char |
write-bytevector |
write-string |
If #385 passes, optional start (inclusive) and end (exclusive) index arguments would be added to write-string. Otherwise write-partial-string would be provided.
WG1 voted to adopt read-string and write-string with the same arguments as read-bytevector and write-bytevector. It voted to reject read-string!.