| 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.
|
| net.openhft.chronicle.bytes.util |
Provides utility classes and interfaces for Chronicle Bytes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StopCharTesters
A collection of predefined
StopCharTester implementations that define common stop character criteria. |
| Modifier and Type | Method and Description |
|---|---|
default @NotNull StopCharTester |
StopCharTester.escaping()
Returns a new instance that respects escape characters.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ByteStringParser.parse8bit(Appendable buffer,
@NotNull StopCharTester stopCharTester)
Parses an ISO-8859-1 encoded string from the byte string until the provided
stopCharTester
detects an end condition. |
default String |
ByteStringParser.parse8bit(@NotNull StopCharTester stopCharTester)
Parses an ISO-8859-1 encoded string from the byte string until the provided
stopCharTester
detects an end condition. |
default @Nullable Boolean |
ByteStringParser.parseBoolean(@NotNull StopCharTester tester)
Attempts to parse the next series of characters in the byte string as a boolean value.
|
default void |
ByteStringParser.parseUtf8(@NotNull Appendable buffer,
@NotNull StopCharTester stopCharTester)
Parses a UTF-8 encoded string from the byte string until the provided
stopCharTester
detects an end condition. |
default @NotNull String |
ByteStringParser.parseUtf8(@NotNull StopCharTester stopCharTester)
Parses a UTF-8 encoded string from the byte string until the provided
stopCharTester
detects an end condition. |
default boolean |
ByteStringParser.skipTo(@NotNull StopCharTester tester)
Skips over characters in the byte string until a terminating character is encountered.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
BytesInternal.parse8bit(ByteStringParser bsp,
StopCharTester stopCharTester) |
static void |
BytesInternal.parse8bit(@NotNull StreamingDataInput bytes,
@NotNull Bytes<?> builder,
@NotNull StopCharTester tester) |
static void |
BytesInternal.parse8bit(@NotNull StreamingDataInput bytes,
@NotNull StringBuilder builder,
@NotNull StopCharTester tester) |
static Boolean |
BytesInternal.parseBoolean(@NotNull ByteStringParser parser,
@NotNull StopCharTester tester) |
static void |
BytesInternal.parseUtf8(@NotNull StreamingDataInput bytes,
@NotNull Appendable builder,
@NotNull StopCharTester tester) |
static @Nullable String |
BytesInternal.parseUtf8(@NotNull StreamingDataInput bytes,
@NotNull StopCharTester tester) |
static boolean |
BytesInternal.skipTo(@NotNull ByteStringParser parser,
@NotNull StopCharTester tester) |
| Modifier and Type | Class and Description |
|---|---|
class |
EscapingStopCharTester
This class implements a stop character tester that supports escape characters.
|
| Constructor and Description |
|---|
EscapingStopCharTester(StopCharTester sct)
Constructs an EscapingStopCharTester with the given
StopCharTester. |
Copyright © 2023. All rights reserved.