private class MessageReader.ChunkedInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
private byte[] |
buf |
private int |
lim |
private int |
pos |
Constructor and Description |
---|
ChunkedInputStream() |
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
private void |
refill() |
close, mark, markSupported, read, reset, skip
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
private void refill() throws IOException
IOException
Copyright 2007-2016, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.