| Package | Description |
|---|---|
| net.openhft.chronicle.bytes |
| Modifier and Type | Interface and Description |
|---|---|
interface |
StreamingDataInput<S extends StreamingDataInput<S>>
Provides sequential, cursor based reading of binary and textual data from a
stream or buffer.
|
| 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 |
ByteStringParser<B extends ByteStringParser<B>>
Extends
StreamingDataInput with helpers for parsing textual data directly from a
Bytes stream. |
| 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 |
|---|---|
@NotNull StreamingInputStream |
StreamingInputStream.init(StreamingDataInput in)
Initializes this StreamingInputStream instance with a specific StreamingDataInput as the data source.
|
static void |
AppendableUtil.parse8bit(@NotNull StreamingDataInput bytes,
Appendable appendable,
int utflen)
Parses a sequence of 8-bit characters from the given StreamingDataInput and appends them to an Appendable.
|
static void |
BytesUtil.parseUtf8(@NotNull StreamingDataInput in,
Appendable appendable,
int utflen)
Parses a UTF-8 string from a StreamingDataInput and appends it to an Appendable object.
|
static void |
AppendableUtil.read8bitAndAppend(@NotNull StreamingDataInput bytes,
@NotNull StringBuilder appendable,
@NotNull StopCharsTester tester)
Reads 8-bit characters from
bytes appending each to
appendable until tester signals a stop or the input ends. |
static long |
BytesUtil.readStopBit(@NotNull StreamingDataInput in)
Reads a variable-length integer from a StreamingDataInput using the stop bit encoding.
|
static void |
AppendableUtil.readUtf8AndAppend(@NotNull StreamingDataInput bytes,
@NotNull Appendable appendable,
@NotNull StopCharsTester tester)
Reads UTF-8 characters from
bytes and appends them to
appendable until tester signals a stop or the input ends. |
static void |
AppendableUtil.readUTFAndAppend(@NotNull StreamingDataInput bytes,
@NotNull Appendable appendable,
@NotNull StopCharsTester tester)
Reads 8-bit characters and appends them to
appendable until
tester requests a stop. |
| Constructor and Description |
|---|
StreamingInputStream(StreamingDataInput in)
Constructs a new StreamingInputStream instance with a specific StreamingDataInput as the data source.
|
Copyright © 2026 Chronicle Software Ltd. All rights reserved.