public class RedisInputStream extends InputStream
Constructor and Description |
---|
RedisInputStream(InputStream in) |
RedisInputStream(InputStream in,
int len) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
bufSize() |
void |
fill() |
int |
head() |
void |
mark() |
int |
read() |
int |
read(byte[] bytes,
int offset,
int len) |
byte[] |
readBytes(int len) |
int |
readInt(byte[] bytes) |
int |
readInt(byte[] bytes,
boolean littleEndian) |
int |
readInt(int len) |
int |
readInt(int length,
boolean littleEndian) |
long |
readLong(int len) |
long |
readLong(int length,
boolean littleEndian) |
String |
readString(int len) |
String |
readString(int len,
String charset) |
long |
readUInt(int length) |
long |
readUInt(int length,
boolean littleEndian) |
long |
skip(long len) |
int |
tail() |
long |
total() |
long |
unmark() |
close, mark, markSupported, read, reset
public RedisInputStream(InputStream in)
public RedisInputStream(InputStream in, int len)
public int head()
public int tail()
public int bufSize()
public void mark()
public long unmark()
public long total()
public int read() throws IOException
read
in class InputStream
IOException
public byte[] readBytes(int len) throws IOException
IOException
public int readInt(int len) throws IOException
IOException
public long readLong(int len) throws IOException
IOException
public int readInt(int length, boolean littleEndian) throws IOException
IOException
public long readUInt(int length) throws IOException
IOException
public long readUInt(int length, boolean littleEndian) throws IOException
IOException
public int readInt(byte[] bytes)
public int readInt(byte[] bytes, boolean littleEndian)
public long readLong(int length, boolean littleEndian) throws IOException
IOException
public String readString(int len) throws IOException
IOException
public String readString(int len, String charset) throws IOException
IOException
public int read(byte[] bytes, int offset, int len) throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void fill() throws IOException
IOException
public long skip(long len) throws IOException
skip
in class InputStream
IOException
Copyright © 2016. All rights reserved.