On Thu, Jan 15, 2009 at 3:17 PM, William Tanksley, Jr
<[email protected]> wrote:
> Does Factor have a read-delimited-record facility for binary data?
> Naturally, you'd have to set up the reader with the information about
> how to break the stream into records.

There's a read-until word, which might be what he wants.

> ...On the other hand, if he's reading lines, I don't see any reason
> not to use an explicit encoding. Perhaps he's worried about staying
> 8-bit clean, and thinks the ASCII encoding will error out if the high
> bit is set... Will it?

The ASCII encoding throws an error if the high-bit is set on an octet
read from the stream, because ASCII is only defined for octets in the
range 0..127.

Slava

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to