StringScanner scanning IO instead of a string
Posted
by jes5199
on Stack Overflow
See other posts from Stack Overflow
or by jes5199
Published on 2010-03-16T23:59:37Z
Indexed on
2010/03/17
0:01 UTC
Read the original article
Hit count: 168
I've got a parser written using ruby's standard StringScanner. It would be nice if I could use it on streaming files. Is there an equivalent to StringScanner that doesn't require me to load the whole string into memory?
© Stack Overflow or respective owner