public class FastByteArrayInputStream extends InputStream
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
byte[] |
getBufferBytes()
Returns the underlying data being read.
|
int |
getBufferLength()
Returns the end of the buffer being read.
|
int |
getBufferOffset()
Returns the offset at which data is being read from the buffer.
|
int |
getCount() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] toBuf) |
int |
read(byte[] toBuf,
int offset,
int length) |
void |
reset() |
long |
skip(long count) |
byte[] |
toByteArray() |
closepublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] toBuf)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] toBuf,
int offset,
int length)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long count)
skip in class InputStreampublic int available()
available in class InputStreampublic int getCount()
public void mark(int readlimit)
mark in class InputStreampublic void reset()
reset in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic byte[] toByteArray()
public byte[] getBufferBytes()
public int getBufferOffset()
public int getBufferLength()
Copyright © 2025. All Rights Reserved.