Package com.dslplatform.json
Class DslJson.RereadStream
- java.lang.Object
-
- java.io.InputStream
-
- com.dslplatform.json.DslJson.RereadStream
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]bufferprivate intpositionprivate java.io.InputStreamstreamprivate booleanusingBuffer
-
Constructor Summary
Constructors Constructor Description RereadStream(byte[] buffer, java.io.InputStream stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread()intread(byte[] buf)intread(byte[] buf, int off, int len)
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Specified by:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read(byte[] buf) throws java.io.IOException- Overrides:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read(byte[] buf, int off, int len) throws java.io.IOException- Overrides:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
-