Ensure that a certain number of bytes is buffered before executing the * next step.
Ensure that a certain number of bytes is buffered before executing the next step, calling
getCount
each time new data arrives, to recompute the total number of bytes desired.
Read bytes until a delimiter is present.
Read bytes until a delimiter is present. The number of bytes up to and including the delimiter is passed to the next processing step.
Read bytes until a delimiter is present.
Read bytes until a delimiter is present. The number of bytes up to and including the delimiter
is passed to the next processing step. getDelimiter
is called each time new data arrives.
Wrap a Stage.
Wrap a Stage. The wrapped stage will be regenerated on each call.
Read count
bytes into a byte buffer and pass that buffer to the next step in processing.
Read a certain number of bytes into a byte buffer and pass that buffer to the next step in processing.
Read a certain number of bytes into a byte buffer and pass that buffer to the next step in
processing. getCount
is called each time new data arrives, to recompute * the total number of
bytes desired.
Read a line, terminated by LF or CRLF, and pass that line as a string (decoded using UTF-8, with the line terminators stripped) to the next processing step.
Read a line, terminated by LF or CRLF, and pass that line as a string (decoded using UTF-8) to the next processing step.
Read a line, terminated by LF or CRLF, and pass that line as a string (decoded using UTF-8) to the next processing step.
true if the LF or CRLF should be stripped from the string before passing it on
Read a line, terminated by LF or CR/LF, and pass that line as a string to the next processing step.
Read a line, terminated by LF or CR/LF, and pass that line as a string to the next processing step.
true if the LF or CRLF should be stripped from the string before passing it on
byte-to-character encoding to use
Read bytes until a delimiter is present, and pass a buffer containing the bytes up to and including the delimiter to the next processing step.
Read bytes until a delimiter is present, and pass a buffer containing the bytes up to and including the delimiter to the next processing step.
Read bytes until a delimiter is present, and pass a buffer containing the bytes up to and
including the delimiter to the next processing step. getDelimiter
is called each time new
data arrives.
Generate a Stage from a code block.
Allow a decoder to return a Stage when we expected a NextStep.