Package com.google.common.io
Interface ByteArrayDataInput
- All Superinterfaces:
DataInput
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
An extension of
DataInput for reading from in-memory byte arrays; its
methods offer identical functionality but do not throw IOException.
Warning: The caller is responsible for not attempting to read past
the end of the array. If any method encounters the end of the array
prematurely, it throws IllegalStateException to signify programmer
error. This behavior is a technical violation of the supertype's
contract, which specifies a checked exception.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.bytereadByte()Deprecated.charreadChar()Deprecated.doubleDeprecated.floatDeprecated.voidreadFully(byte[] b) Deprecated.voidreadFully(byte[] b, int off, int len) Deprecated.intreadInt()Deprecated.readLine()Deprecated.longreadLong()Deprecated.shortDeprecated.intDeprecated.intDeprecated.readUTF()Deprecated.intskipBytes(int n) Deprecated.
-
Method Details
-
readFully
void readFully(byte[] b) Deprecated. -
readFully
void readFully(byte[] b, int off, int len) Deprecated. -
skipBytes
int skipBytes(int n) Deprecated. -
readBoolean
boolean readBoolean()Deprecated.- Specified by:
readBooleanin interfaceDataInput
-
readByte
byte readByte()Deprecated. -
readUnsignedByte
int readUnsignedByte()Deprecated.- Specified by:
readUnsignedBytein interfaceDataInput
-
readShort
short readShort()Deprecated. -
readUnsignedShort
int readUnsignedShort()Deprecated.- Specified by:
readUnsignedShortin interfaceDataInput
-
readChar
char readChar()Deprecated. -
readInt
int readInt()Deprecated. -
readLong
long readLong()Deprecated. -
readFloat
float readFloat()Deprecated. -
readDouble
double readDouble()Deprecated.- Specified by:
readDoublein interfaceDataInput
-
readLine
String readLine()Deprecated. -
readUTF
String readUTF()Deprecated.
-