| Package | Description |
|---|---|
| net.openhft.chronicle.bytes | |
| net.openhft.chronicle.bytes.internal |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Bytes<U>
Mutable buffer for raw byte data with separate 63-bit read and write cursors.
|
interface |
BytesIn<U>
Reads data from a byte stream or buffer.
|
interface |
BytesStore<B extends BytesStore<B,U>,U>
Reference to a fixed-capacity region of memory.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBytes<U>
Provides a base implementation of
Bytes with cursor management,
optional bounds checking and default text formatting support. |
class |
GuardedNativeBytes<U>
Debugging wrapper that prefixes each primitive written with a type code and checks it on reads.
|
class |
HexDumpBytes
Bytes implementation that records all writes and produces a formatted hexadecimal dump of the data. |
class |
MappedBytes
A specialised
Bytes implementation backed by a memory-mapped file. |
class |
MappedBytesStore
NativeBytesStore backed by a region of a memory-mapped file. |
class |
NativeBytes<U>
VanillaBytes backed by native (off heap) memory or a direct
ByteBuffer. |
class |
OnHeapBytes
VanillaBytes backed by an on heap byte[]. |
class |
PointerBytesStore
NativeBytesStore providing a view over externally managed memory. |
class |
SubBytes<U>
Represents a fixed size view over a region of another
BytesStore. |
class |
UncheckedBytes<U>
A wrapper around another
Bytes instance that bypasses most bounds
checks on read and write operations. |
class |
UncheckedNativeBytes<U>
Provides unchecked access to a native
BytesStore. |
class |
VanillaBytes<U>
Base implementation of
Bytes backed by a fixed-capacity
BytesStore. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
BytesUtil.bytesEqual(@Nullable CharSequence cs,
@NotNull RandomDataInput bs,
long offset,
int length)
Compares a CharSequence with bytes from a RandomDataInput object to check if they are equal.
|
static boolean |
BytesUtil.bytesEqual(@NotNull RandomDataInput a,
long offset,
@NotNull RandomDataInput second,
long secondOffset,
long len)
Compares bytes from two RandomDataInput objects to check if they are equal.
|
static boolean |
BytesUtil.bytesEqual(@NotNull RandomDataInput a,
long offset,
@NotNull RandomDataInput second,
long secondOffset,
long len)
Compares bytes from two RandomDataInput objects to check if they are equal.
|
protected void |
VanillaBytes.optimisedWrite(@NotNull RandomDataInput bytes,
long offset,
long length) |
static String |
BytesUtil.toDebugString(@NotNull RandomDataInput bytes,
long start,
long maxLength)
Returns a debug string representation of a portion of a RandomDataInput object.
|
@NotNull MappedBytesStore |
MappedBytesStore.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
R |
RandomDataOutput.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length)
Copies a segment from the provided RandomDataInput into this data output.
|
@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) |
void |
MappedBytesStore.write0(long offsetInRDO,
@NotNull RandomDataInput bytes,
long offset,
long length) |
default void |
StreamingDataOutput.writeWithLength(@NotNull RandomDataInput bytes)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
net.openhft.chronicle.bytes.internal.AbstractBytesStore<B extends BytesStore<B,U>,U>
An abstract base for
BytesStore
implementations. |
class |
net.openhft.chronicle.bytes.internal.NativeBytesStore<U>
A
BytesStore backed by off-heap native
memory. |
Copyright © 2026 Chronicle Software Ltd. All rights reserved.