Package | Description |
---|---|
net.openhft.chronicle.bytes |
The Chronicle Bytes package provides low-level memory access wrappers with functionalities
akin to Java NIO's ByteBuffer.
|
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 |
ByteStringParser<B extends ByteStringParser<B>>
An interface that provides support for parsing bytes as text.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Bytes<U>
The
Bytes class is a versatile container for raw byte data, providing rich functionality to read and write
data in various formats including integers, longs, floating-point values, strings, and more. |
interface |
BytesIn<U>
Defines an interface for reading bytes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBytes<U>
Abstract representation of Bytes.
|
class |
GuardedNativeBytes<U>
This class extends the
NativeBytes class and provides an additional layer of safety by tracking the raw primitives written to the byte buffer. |
class |
HexDumpBytes
A class that implements the
Bytes interface for generating a hex dump of byte data. |
class |
MappedBytes
A specialized implementation of
AbstractBytes that wraps memory-mapped data for efficient random file access. |
class |
NativeBytes<U>
NativeBytes is a subclass of VanillaBytes which can wrap either a ByteBuffer or malloc'ed memory.
|
class |
OnHeapBytes |
class |
SubBytes<U>
A
SubBytes object represents a subsection of a BytesStore from a given start index up to a specified capacity. |
class |
UncheckedBytes<U>
An optimized extension of AbstractBytes that doesn't perform any bounds checking
for read and write operations.
|
class |
UncheckedNativeBytes<U>
An optimized extension of AbstractBytes that performs unchecked read and write operations
on a Bytes instance that is backed by native memory.
|
class |
VanillaBytes<U>
A simple Bytes implementation that is non-elastic.
|
Modifier and Type | Class and Description |
---|---|
class |
ChunkedMappedBytes
Bytes to wrap memory mapped data.
|
class |
CommonMappedBytes
Bytes to wrap memory mapped data.
|
class |
EmbeddedBytes<U> |
class |
SingleMappedBytes
A class that extends the
CommonMappedBytes to provide a mechanism to wrap memory-mapped data. |
Modifier and Type | Method and Description |
---|---|
static String |
BytesInternal.parse8bit(ByteStringParser bsp,
StopCharTester stopCharTester) |
static Boolean |
BytesInternal.parseBoolean(@NotNull ByteStringParser parser,
@NotNull StopCharTester tester) |
static boolean |
BytesInternal.skipTo(@NotNull ByteStringParser parser,
@NotNull StopCharTester tester) |
Constructor and Description |
---|
ByteStringReader(ByteStringParser in)
Constructs a new ByteStringReader with the provided ByteStringParser.
|
Copyright © 2023. All rights reserved.