class ByteArray.InternalInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
ByteArray.InternalInputStream() |
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Number of left byte to read
Parent documentation: |
void |
close()
Close the stream
Parent documentation: |
void |
mark(int readlimit)
Mark actual read position
Parent documentation: |
boolean |
markSupported()
Indicates if mark are supported
Parent documentation: |
int |
read()
Read newt byte
Parent documentation: |
int |
read(byte[] b)
Read some bytes and fill an array.
|
int |
read(byte[] b,
int off,
int len)
Read some bytes and fill an array.
|
void |
reset()
Reset the mark
Parent documentation: |
long |
skip(long n)
Skip a number of bytes
Parent documentation: |
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOException - On reading issueInputStream.available()public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException - On closing issueInputStream.close()public void mark(int readlimit)
mark in class java.io.InputStreamreadlimit - Maximum limitInputStream.mark(int)public boolean markSupported()
markSupported in class java.io.InputStreamtrueInputStream.markSupported()public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException - On reading issueInputStream.read()public int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamb - Array to filljava.io.IOException - On reading issueInputStream.read(byte[])public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamb - Array to filloff - Offset where start filling the arraylen - Number maximum of byte to readjava.io.IOException - On reading issueInputStream.read(byte[], int, int)public void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOException - On access issueInputStream.reset()public long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamn - Number of bytes to skipjava.io.IOException - On skipping issueInputStream.skip(long)