public interface ArrayDataInput extends DataInput
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read(boolean[] buf) |
int |
read(boolean[] buf,
int offset,
int size) |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int offset,
int size) |
int |
read(char[] buf) |
int |
read(char[] buf,
int offset,
int size) |
int |
read(double[] buf) |
int |
read(double[] buf,
int offset,
int size) |
int |
read(float[] buf) |
int |
read(float[] buf,
int offset,
int size) |
int |
read(int[] buf) |
int |
read(int[] buf,
int offset,
int size) |
int |
read(long[] buf) |
int |
read(long[] buf,
int offset,
int size) |
int |
read(short[] buf) |
int |
read(short[] buf,
int offset,
int size) |
int |
readArray(Object o)
Read a generic (possibly multidimenionsional) primitive array.
|
long |
skip(long distance) |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
int readArray(Object o) throws IOException
The ArrayDataInput classes do not support String input since it is unclear how one would read in an Array of strings.
o
- A [multidimensional] primitive (or Object) array.IOException
int read(byte[] buf) throws IOException
IOException
int read(boolean[] buf) throws IOException
IOException
int read(short[] buf) throws IOException
IOException
int read(char[] buf) throws IOException
IOException
int read(int[] buf) throws IOException
IOException
int read(long[] buf) throws IOException
IOException
int read(float[] buf) throws IOException
IOException
int read(double[] buf) throws IOException
IOException
int read(byte[] buf, int offset, int size) throws IOException
IOException
int read(boolean[] buf, int offset, int size) throws IOException
IOException
int read(char[] buf, int offset, int size) throws IOException
IOException
int read(short[] buf, int offset, int size) throws IOException
IOException
int read(int[] buf, int offset, int size) throws IOException
IOException
int read(long[] buf, int offset, int size) throws IOException
IOException
int read(float[] buf, int offset, int size) throws IOException
IOException
int read(double[] buf, int offset, int size) throws IOException
IOException
long skip(long distance) throws IOException
IOException
void close() throws IOException
IOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.