public class DataInputInputStream extends InputStream
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
static InputStream |
constructInputStream(DataInput in)
Construct an InputStream from the given DataInput.
|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
mark, markSupported, reset, skippublic static InputStream constructInputStream(DataInput in)
in - the DataInput to wrappublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic int available()
available in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.