| 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 | Method and Description |
|---|---|
default @NotNull StopCharsTester |
StopCharsTester.escaping()
Creates a new that respects escape characters in the string parsing operation.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ByteStringParser.parse8bit(Appendable buffer,
@NotNull StopCharsTester stopCharsTester)
Parses an ISO-8859-1 encoded string from the byte string until the provided
stopCharsTester
detects an end condition. |
default void |
ByteStringParser.parse8bit(Bytes<?> buffer,
@NotNull StopCharsTester stopCharsTester)
Parses an ISO-8859-1 encoded string from the byte string until the provided
stopCharsTester
detects an end condition. |
default void |
ByteStringParser.parse8bit(StringBuilder buffer,
@NotNull StopCharsTester stopCharsTester)
Parses an ISO-8859-1 encoded string from the byte string until the provided
stopCharsTester
detects an end condition. |
default void |
ByteStringParser.parseUtf8(@NotNull Appendable buffer,
@NotNull StopCharsTester stopCharsTester)
Parses a UTF-8 encoded string from the byte string until the provided
stopCharsTester
detects an end condition. |
static void |
AppendableUtil.read8bitAndAppend(@NotNull StreamingDataInput bytes,
@NotNull StringBuilder appendable,
@NotNull StopCharsTester tester)
Reads an 8-bit character from a StreamingDataInput and appends it to a StringBuilder
until a stop character as defined by the given StopCharsTester is encountered.
|
static void |
AppendableUtil.readUtf8AndAppend(@NotNull StreamingDataInput bytes,
@NotNull Appendable appendable,
@NotNull StopCharsTester tester)
Reads a UTF-8 encoded character from a StreamingDataInput and appends it to an Appendable
until a stop character as defined by the given StopCharsTester is encountered.
|
static void |
AppendableUtil.readUTFAndAppend(@NotNull StreamingDataInput bytes,
@NotNull Appendable appendable,
@NotNull StopCharsTester tester)
Reads an 8-bit character from a StreamingDataInput and appends it to an Appendable
until a stop character as defined by the given StopCharsTester is encountered.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
BytesInternal.parse8bit(@NotNull StreamingDataInput bytes,
@NotNull Bytes<?> builder,
@NotNull StopCharsTester tester) |
static void |
BytesInternal.parse8bit(@NotNull StreamingDataInput bytes,
@NotNull StringBuilder builder,
@NotNull StopCharsTester tester) |
static void |
BytesInternal.parseUtf8(@NotNull StreamingDataInput bytes,
@NotNull Appendable builder,
@NotNull StopCharsTester tester) |
| Modifier and Type | Class and Description |
|---|---|
class |
EscapingStopCharsTester
A custom implementation of
StopCharsTester that considers escape characters. |
| Constructor and Description |
|---|
EscapingStopCharsTester(StopCharsTester sct)
Constructs an EscapingStopCharsTester with the given
StopCharsTester. |
Copyright © 2023. All rights reserved.