public class ByteArray.MyInputStream extends InputStream
ByteArray.makeInputStream(), which implements the
stream functionality.| Constructor and Description |
|---|
MyInputStream() |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
mark(int reserve) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] arr,
int offset,
int length) |
void |
reset() |
close, read, skippublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] arr,
int offset,
int length)
read in class InputStreampublic int available()
available in class InputStreampublic void mark(int reserve)
mark in class InputStreampublic void reset()
reset in class InputStreampublic boolean markSupported()
markSupported in class InputStreamCopyright © 2016. All Rights Reserved.