Package | Description |
---|---|
net.openhft.chronicle.bytes | |
net.openhft.chronicle.bytes.internal |
This package and any and all sub-packages contains strictly internal classes for this Chronicle library.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Bytes<U>
Bytes is a view of a region of memory within a
BytesStore
with 63-bit addressing capability (~8 EiB) and separate read and write cursors. |
interface |
BytesIn<U> |
interface |
BytesStore<B extends BytesStore<B,U>,U>
An immutable reference to some bytes with fixed extents.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBytes<U>
Abstract representation of Bytes.
|
class |
GuardedNativeBytes<U> |
class |
HexDumpBytes |
class |
MappedBytes
Bytes to wrap memory mapped data.
|
class |
MappedBytesStore
BytesStore to wrap memory mapped data.
|
class |
NativeBytes<U>
Elastic memory accessor which can wrap either a ByteBuffer or malloc'ed memory.
|
class |
NoBytesStore
Deprecated.
from the public API for removal in x.24. Use
BytesStore.empty() } instead. |
class |
OnHeapBytes |
class |
PointerBytesStore
A BytesStore which can point to arbitrary memory.
|
class |
SubBytes<U> |
class |
UncheckedBytes<U>
Fast unchecked version of AbstractBytes
|
class |
UncheckedNativeBytes<U>
Fast unchecked version of AbstractBytes
|
class |
VanillaBytes<U>
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 MappedBytesStore |
MappedBytesStore.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull RandomDataOutput |
NoBytesStore.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length)
Deprecated.
|
R |
RandomDataOutput.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length)
Copy from RandomDataInput into this.
|
@NotNull Bytes<Void> |
HexDumpBytes.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull Bytes<U> |
UncheckedNativeBytes.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull Bytes<U> |
AbstractBytes.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
default S |
StreamingDataOutput.write(@NotNull RandomDataInput bytes)
Write all data or fail.
|
@NotNull Bytes<Void> |
HexDumpBytes.write(@NotNull RandomDataInput bytes) |
@NotNull Bytes<U> |
UncheckedNativeBytes.write(@NotNull RandomDataInput bytes) |
@NotNull Bytes<U> |
AbstractBytes.write(@NotNull RandomDataInput bytes) |
default S |
StreamingDataOutput.write(@NotNull RandomDataInput bytes,
long readOffset,
long length)
Write all data or fail.
|
@NotNull Bytes<U> |
VanillaBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<Void> |
HexDumpBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<U> |
UncheckedNativeBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<U> |
UncheckedBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
void |
MappedBytesStore.write0(long offsetInRDO,
@NotNull RandomDataInput bytes,
long offset,
long length) |
default void |
StreamingDataOutput.writeWithLength(@NotNull RandomDataInput bytes) |
void |
HexDumpBytes.writeWithLength(@NotNull RandomDataInput bytes) |
Modifier and Type | Interface and Description |
---|---|
interface |
EmptyByteStore |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBytesStore<B extends BytesStore<B,U>,U>
Abstract BytesStore
|
class |
ChunkedMappedBytes
Bytes to wrap memory mapped data.
|
class |
CommonMappedBytes
Bytes to wrap memory mapped data.
|
class |
EmbeddedBytes<U> |
class |
HeapBytesStore<U>
Wrapper for Heap ByteBuffers and arrays.
|
class |
NativeBytesStore<U> |
class |
SingleMappedBytes
Bytes to wrap memory mapped data.
|
class |
SingletonEmptyByteStore |
Modifier and Type | Method and Description |
---|---|
static boolean |
BytesInternal.compareUtf8(@NotNull RandomDataInput input,
long offset,
@Nullable CharSequence other) |
static void |
BytesInternal.copy(@NotNull RandomDataInput input,
@NotNull OutputStream output) |
static long |
BytesInternal.findByte(@NotNull RandomDataInput bytes,
byte stopByte) |
static void |
BytesInternal.parse8bit(long offset,
@NotNull RandomDataInput bytesStore,
Appendable appendable,
int utflen) |
static void |
BytesInternal.parse8bit1(long offset,
@NotNull RandomDataInput bytes,
@NotNull Appendable appendable,
int utflen) |
static long |
BytesInternal.parseLong(@NotNull RandomDataInput in,
long offset) |
static void |
BytesInternal.parseUtf8(@NotNull RandomDataInput input,
long offset,
Appendable appendable,
boolean utf,
int length) |
static void |
BytesInternal.parseUtf81(@NotNull RandomDataInput input,
long offset,
@NotNull Appendable appendable,
int utflen) |
static @Nullable String |
BytesInternal.readUtf8(@NotNull RandomDataInput in,
long offset,
int maxUtf8Len) |
static @NotNull BytesStore |
BytesInternal.subBytes(RandomDataInput from,
long start,
long length) |
static @NotNull byte[] |
BytesInternal.toByteArray(@NotNull RandomDataInput in) |
static String |
BytesInternal.toDebugString(@NotNull RandomDataInput bytes,
long maxLength) |
static @NotNull String |
BytesInternal.toString(@NotNull RandomDataInput bytes) |
@NotNull CommonMappedBytes |
CommonMappedBytes.write(long offsetInRDO,
@NotNull RandomDataInput bytes) |
@NotNull ChunkedMappedBytes |
ChunkedMappedBytes.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull HeapBytesStore<U> |
HeapBytesStore.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull SingleMappedBytes |
SingleMappedBytes.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull NativeBytesStore<U> |
NativeBytesStore.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull EmptyByteStore |
SingletonEmptyByteStore.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull CommonMappedBytes |
CommonMappedBytes.write(@NotNull RandomDataInput bytes) |
@NotNull Bytes<Void> |
CommonMappedBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
void |
NativeBytesStore.write0(long offsetInRDO,
@NotNull RandomDataInput bytes,
long offset,
long length) |
static void |
BytesInternal.writeFully(@NotNull RandomDataInput bytes,
long offset,
long length,
@NotNull StreamingDataOutput sdo) |
Copyright © 2022. All rights reserved.