Can be used with any InputStream to restrict what is
read from it to stop before a boundary mark string.
The boundary mark string is exactly that, a string of characters. Not a
regex, nor anything involving DFDL Character Entities or Character Class
Entities. (No %WSP; no %NL; )
This can be used to forcibly stop consumption of data from a stream at
a length obtained from a delimiter.
The boundary mark string is consumed from the underlying stream (if found), and
the underlying stream is left positioned at the byte after the boundary mark
string.
Thread safety: This is inherently stateful - so not thread safe to use
this object from more than one thread.
Can be used with any InputStream to restrict what is read from it to stop before a boundary mark string.
The boundary mark string is exactly that, a string of characters. Not a regex, nor anything involving DFDL Character Entities or Character Class Entities. (No %WSP; no %NL; )
This can be used to forcibly stop consumption of data from a stream at a length obtained from a delimiter.
The boundary mark string is consumed from the underlying stream (if found), and the underlying stream is left positioned at the byte after the boundary mark string.
Thread safety: This is inherently stateful - so not thread safe to use this object from more than one thread.