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 TypeMethodDescriptionboolean
Deprecated.byte
readByte()
Deprecated.char
readChar()
Deprecated.double
Deprecated.float
Deprecated.void
readFully
(byte[] b) Deprecated.void
readFully
(byte[] b, int off, int len) Deprecated.int
readInt()
Deprecated.readLine()
Deprecated.long
readLong()
Deprecated.short
Deprecated.int
Deprecated.int
Deprecated.readUTF()
Deprecated.int
skipBytes
(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:
readBoolean
in interfaceDataInput
-
readByte
byte readByte()Deprecated. -
readUnsignedByte
int readUnsignedByte()Deprecated.- Specified by:
readUnsignedByte
in interfaceDataInput
-
readShort
short readShort()Deprecated. -
readUnsignedShort
int readUnsignedShort()Deprecated.- Specified by:
readUnsignedShort
in interfaceDataInput
-
readChar
char readChar()Deprecated. -
readInt
int readInt()Deprecated. -
readLong
long readLong()Deprecated. -
readFloat
float readFloat()Deprecated. -
readDouble
double readDouble()Deprecated.- Specified by:
readDouble
in interfaceDataInput
-
readLine
String readLine()Deprecated. -
readUTF
String readUTF()Deprecated.
-