- read-textual-bytestring prefix #!optional portprocedure
Reads a string in the external format described in this SRFI from port and return it as a bytevector. If the prefix argument is false, this procedure assumes that "#u8" has already been read from port. If port is omitted, it defaults to the value of (current-input-port). If the characters read are not in the external format, an error satisfying bytestring-error? is raised.
(call-with-port (open-input-string "#u8\"AB\\xad;\\xf0;\\x0d;CD\"") (lambda (port) (read-textual-bytestring #t port))) ⇒ #u8(#x41 #x42 #xad #xf0 #x0d #x43 #x44)