RedisInputStream

This class assumes (to some degree) that we are reading a RESP stream. As such it assumes certain conventions regarding CRLF line termination. It also assumes that if the Protocol layer requires a byte that if that byte is not there it is a stream error.

Constructors

this
this(InputStream inputStream, int size)
Undocumented in source.
this
this(InputStream inputStream)
Undocumented in source.

Members

Functions

read
int read(byte[] b, int off, int len)
Undocumented in source. Be warned that the author may not have intended to support it.
readByte
byte readByte()
Undocumented in source. Be warned that the author may not have intended to support it.
readIntCrLf
int readIntCrLf()
Undocumented in source. Be warned that the author may not have intended to support it.
readLine
string readLine()
Undocumented in source. Be warned that the author may not have intended to support it.
readLineBytes
byte[] readLineBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
readLongCrLf
long readLongCrLf()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

buf
byte[] buf;
Undocumented in source.
count
int count;
limit
int limit;
Undocumented in source.

Meta