| Package | Description |
|---|---|
| net.openhft.chronicle.bytes | |
| net.openhft.chronicle.bytes.ref | |
| net.openhft.chronicle.bytes.util |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Bytes<U>
Mutable buffer for raw byte data with separate 63-bit read and write cursors.
|
| 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 |
NativeBytes<U>
VanillaBytes backed by native (off heap) memory or a direct
ByteBuffer. |
class |
OnHeapBytes
VanillaBytes backed by an on heap byte[]. |
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 |
|---|---|
void |
BytesParselet.accept(long messageType,
BytesIn<?> in)
Handles a message of the supplied
messageType using bytes from
in. |
Object[] |
MethodEncoder.decode(Object[] lastObjects,
BytesIn<?> in)
Decodes a method call from a
BytesIn object into an array of objects. |
default void |
BytesMarshallable.readMarshallable(BytesIn<?> bytes)
Reads data from the provided
BytesIn object. |
void |
ReadBytesMarshallable.readMarshallable(BytesIn<?> bytes)
Reads data from the provided
BytesIn object. |
void |
BytesMarshaller.readMarshallable(ReadBytesMarshallable t,
BytesIn<?> in)
Populates
t by reading each field from in using reflection. |
static void |
BytesUtil.readMarshallable(@NotNull ReadBytesMarshallable marshallable,
BytesIn<?> bytes)
Reads a Marshallable object from a BytesIn object.
|
| Constructor and Description |
|---|
BytesMethodReader(BytesIn<?> in,
BytesParselet defaultParselet,
MethodEncoderLookup methodEncoderLookup,
Object[] objects) |
BytesMethodReaderBuilder(BytesIn<?> in) |
| Modifier and Type | Method and Description |
|---|---|
void |
BinaryIntArrayReference.readMarshallable(BytesIn<?> bytes)
Reads and deserializes data from the input stream.
|
void |
BinaryLongArrayReference.readMarshallable(BytesIn<?> bytes) |
| Modifier and Type | Method and Description |
|---|---|
default void |
Compression.compress(@NotNull BytesIn<?> from,
@NotNull BytesOut<?> to)
Compresses data from
from to to using this implementation's
algorithm. |
default void |
Compression.uncompress(@NotNull BytesIn<?> from,
@NotNull BytesOut<?> to)
Uncompresses data from the input to the output using the implementing uncompression algorithm.
|
static void |
Compression.uncompress(@NotNull CharSequence cs,
@NotNull BytesIn<?> from,
@NotNull BytesOut<?> to)
Decompresses data using the named algorithm.
|
Copyright © 2026 Chronicle Software Ltd. All rights reserved.