Package | Description |
---|---|
net.openhft.chronicle.bytes |
Modifier and Type | Interface and Description |
---|---|
interface |
Bytes<Underlying>
Bytes is a pointer to a region of memory within a BytesStore.
|
interface |
BytesIn<Underlying> |
interface |
BytesStore<B extends BytesStore<B,Underlying>,Underlying>
A immutable reference to some bytes with fixed extents.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBytes<Underlying> |
class |
AbstractBytesStore<B extends BytesStore<B,Underlying>,Underlying> |
class |
GuardedNativeBytes<Underlying> |
class |
HeapBytesStore<Underlying>
Wrapper for Heap ByteBuffers and arrays.
|
class |
HexDumpBytes |
class |
MappedBytes
Bytes to wrap memory mapped data.
|
class |
MappedBytesStore
BytesStore to wrap memory mapped data.
|
class |
NativeBytes<Underlying>
Elastic memory accessor which can wrap either a ByteBuffer or malloc'ed memory.
|
static class |
NativeBytes.NativeSubBytes |
class |
NativeBytesStore<Underlying> |
class |
NoBytesStore
This is a ByteStore which uses no space but could be resized to be larger (by replacing it with a ByteStire with space)
|
class |
OnHeapBytes |
class |
PointerBytesStore
A BytesStore which can point to arbitrary memory.
|
class |
ReadOnlyMappedBytesStore
BytesStore to wrap memory mapped data.
|
class |
ReleasedBytesStore
applied after a Bytes has been released and cannot be used.
|
class |
SubBytes<Underlying> |
class |
UncheckedBytes<Underlying>
Fast unchecked version of AbstractBytes
|
class |
UncheckedNativeBytes<Underlying>
Fast unchecked version of AbstractBytes
|
class |
VanillaBytes<Underlying>
Simple Bytes implementation which is not Elastic.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
BytesUtil.bytesEqual(@Nullable CharSequence cs,
@NotNull RandomDataInput bs,
long offset,
int length) |
static boolean |
BytesUtil.bytesEqual(@NotNull RandomDataInput a,
long offset,
@NotNull RandomDataInput second,
long secondOffset,
long len) |
static boolean |
BytesUtil.bytesEqual(@NotNull RandomDataInput a,
long offset,
@NotNull RandomDataInput second,
long secondOffset,
long len) |
protected void |
VanillaBytes.optimisedWrite(@NotNull RandomDataInput bytes,
long offset,
long length) |
long |
UncheckedNativeBytes.rawCopy(@NotNull RandomDataInput bytes,
long offset,
long length) |
static String |
BytesUtil.toDebugString(@NotNull RandomDataInput bytes,
long start,
long maxLength) |
@NotNull MappedBytes |
MappedBytes.write(long offsetInRDO,
@NotNull RandomDataInput bytes) |
@NotNull Bytes<Void> |
HexDumpBytes.write(long writeOffset,
RandomDataInput bytes,
long readOffset,
long length) |
R |
RandomDataOutput.write(long writeOffset,
RandomDataInput bytes,
long readOffset,
long length) |
@NotNull HeapBytesStore<Underlying> |
HeapBytesStore.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull RandomDataOutput |
NoBytesStore.write(long writeOffset,
RandomDataInput bytes,
long readOffset,
long length) |
@NotNull RandomDataOutput |
ReleasedBytesStore.write(long writeOffset,
RandomDataInput bytes,
long readOffset,
long length) |
@NotNull NativeBytesStore<Underlying> |
NativeBytesStore.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull NativeBytesStore<Void> |
ReadOnlyMappedBytesStore.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull MappedBytes |
MappedBytes.write(long writeOffset,
RandomDataInput bytes,
long readOffset,
long length) |
@NotNull Bytes<Underlying> |
AbstractBytes.write(long writeOffset,
RandomDataInput bytes,
long readOffset,
long length) |
@NotNull Bytes<Void> |
HexDumpBytes.write(@NotNull RandomDataInput bytes) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.write(@NotNull RandomDataInput bytes) |
default S |
StreamingDataOutput.write(@NotNull RandomDataInput bytes)
Write all data or fail.
|
@NotNull MappedBytes |
MappedBytes.write(@NotNull RandomDataInput bytes) |
@NotNull Bytes<Underlying> |
AbstractBytes.write(@NotNull RandomDataInput bytes) |
@NotNull Bytes<Void> |
HexDumpBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<Underlying> |
UncheckedBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
default S |
StreamingDataOutput.write(@NotNull RandomDataInput bytes,
long offset,
long length)
Write all data or fail.
|
@NotNull Bytes<Underlying> |
VanillaBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<Void> |
MappedBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
void |
NativeBytesStore.write0(long offsetInRDO,
@NotNull RandomDataInput bytes,
long offset,
long length) |
void |
ReadOnlyMappedBytesStore.write0(long offsetInRDO,
@NotNull RandomDataInput bytes,
long offset,
long length) |
void |
HexDumpBytes.writeWithLength(RandomDataInput bytes) |
default void |
StreamingDataOutput.writeWithLength(RandomDataInput bytes) |
Copyright © 2020. All rights reserved.