public interface StreamingDataInput<S extends StreamingDataInput<S,A,AT>,A extends ReadAccess<AT>,AT> extends StreamingCommon<S,A,AT>
Modifier and Type | Method and Description |
---|---|
A |
access() |
default InputStream |
inputStream() |
void |
nativeRead(long address,
long size)
This is an expert level method for copying raw native memory in bulk.
|
default ObjectInput |
objectInput() |
int |
peakVolatileInt() |
int |
peekUnsignedByte() |
void |
read(byte[] bytes) |
void |
read(ByteBuffer buffer) |
default boolean |
readBoolean() |
byte |
readByte() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
default long |
readStopBit() |
default int |
readUnsignedByte() |
default long |
readUnsignedInt() |
default int |
readUnsignedShort() |
default String |
readUTFΔ() |
default <ACS extends Appendable & CharSequence> |
readUTFΔ(ACS sb) |
int |
readVolatileInt() |
long |
readVolatileLong() |
UnderflowMode |
underflowMode() |
S |
underflowMode(UnderflowMode underflowMode) |
accessPositionOffset, clear, flip, limit, position, position, remaining, reply, skip, toDebugString, toDebugString, withLength
accessHandle, accessOffset, address, byteOrder, capacity, isNative, limit, readLimit, realCapacity
UnderflowMode underflowMode()
S underflowMode(UnderflowMode underflowMode)
default ObjectInput objectInput()
default InputStream inputStream()
default <ACS extends Appendable & CharSequence> boolean readUTFΔ(ACS sb) throws UTFDataFormatRuntimeException
UTFDataFormatRuntimeException
default long readStopBit()
default boolean readBoolean()
byte readByte()
default int readUnsignedByte()
short readShort()
default int readUnsignedShort()
int readInt()
default long readUnsignedInt()
long readLong()
float readFloat()
double readDouble()
int peakVolatileInt()
default String readUTFΔ()
void read(byte[] bytes)
void read(ByteBuffer buffer)
int readVolatileInt()
long readVolatileLong()
A access()
access
in interface RandomCommon<S extends StreamingDataInput<S,A,AT>,A extends ReadAccess<AT>,AT>
int peekUnsignedByte()
void nativeRead(long address, long size)
address
- of the memory.size
- in bytes.Copyright © 2015. All rights reserved.