public interface RandomDataOutput<R extends RandomDataOutput<R,A,AT>,A extends WriteAccess<AT>,AT> extends RandomCommon<R,A,AT>
Modifier and Type | Method and Description |
---|---|
A |
access() |
default R |
append(long offset,
long value,
int digits) |
void |
nativeWrite(long address,
long position,
long size)
expert level method to copy data from native memory into the BytesStore
|
default R |
write(long offsetInRDO,
byte[] bytes) |
R |
write(long offsetInRDO,
byte[] bytes,
int offset,
int length) |
R |
write(long offsetInRDO,
ByteBuffer bytes,
int offset,
int length) |
default R |
write(long offsetInRDO,
Bytes bytes) |
R |
write(long offsetInRDO,
Bytes bytes,
long offset,
long length) |
default R |
writeBoolean(long offset,
boolean flag) |
R |
writeByte(long offset,
byte i8) |
default R |
writeByte(long offset,
int i) |
R |
writeDouble(long offset,
double d) |
R |
writeFloat(long offset,
float d) |
R |
writeInt(long offset,
int i) |
R |
writeLong(long offset,
long i) |
R |
writeOrderedInt(long offset,
int i) |
R |
writeOrderedLong(long offset,
long i) |
R |
writeShort(long offset,
short i) |
default R |
writeUnsignedByte(long offset,
int i) |
default R |
writeUnsignedInt(long offset,
long i) |
default R |
writeUnsignedShort(long offset,
int i) |
R |
zeroOut(long start,
long end) |
accessHandle, accessOffset, address, byteOrder, capacity, isNative, limit, readLimit, realCapacity
default R writeByte(long offset, int i)
default R writeUnsignedByte(long offset, int i)
default R writeBoolean(long offset, boolean flag)
default R writeUnsignedShort(long offset, int i)
default R writeUnsignedInt(long offset, long i)
R writeByte(long offset, byte i8)
R writeShort(long offset, short i)
R writeInt(long offset, int i)
R writeOrderedInt(long offset, int i)
R writeLong(long offset, long i)
R writeOrderedLong(long offset, long i)
R writeFloat(long offset, float d)
R writeDouble(long offset, double d)
default R write(long offsetInRDO, byte[] bytes)
R write(long offsetInRDO, byte[] bytes, int offset, int length)
R write(long offsetInRDO, ByteBuffer bytes, int offset, int length)
R zeroOut(long start, long end)
default R append(long offset, long value, int digits)
A access()
access
in interface RandomCommon<R extends RandomDataOutput<R,A,AT>,A extends WriteAccess<AT>,AT>
void nativeWrite(long address, long position, long size)
address
- in native memory to copy fromposition
- in BytesStore to copy tosize
- in bytesCopyright © 2015. All rights reserved.