public final class DataInputBuffer extends DataInputStream
in| Constructor and Description |
|---|
DataInputBuffer()
Constructs a new empty buffer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Returns the length of the input.
|
int |
getPosition() |
void |
reset(byte[] input,
int length)
Resets the data that the buffer reads.
|
void |
reset(byte[] input,
int start,
int length)
Resets the data that the buffer reads.
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skippublic void reset(byte[] input,
int length)
public void reset(byte[] input,
int start,
int length)
public int getLength()
public int getPosition()
Copyright © 2016 AddThis. All rights reserved.