| Package | Description |
|---|---|
| net.openhft.chronicle.wire |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Wire
Defines the standard interface for sequentially writing to and reading from a Bytes stream.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAnyWire
An abstract representation of a wire type that could be either
TextWire or BinaryWire. |
class |
AbstractWire
Represents the AbstractWire class which serves as a base for all Wire implementations.
|
class |
BinaryWire
Represents a binary translation of TextWire, which is a subset of YAML.
|
class |
CSVWire
Represents a CSV (Comma Separated Values) based wire format.
|
class |
JSONWire
Represents the JSON wire format.
|
class |
QueryWire
This class represents a wire format designed to decode URL query strings.
|
class |
RawWire
Represents a wire type that focuses on writing pure data, omitting any metadata.
|
class |
ReadAnyWire
Represents a wire type that can be either
TextWire or BinaryWire. |
class |
TextWire
A representation of the YAML-based wire format.
|
class |
YamlWire
Represents a YAML-based wire format designed for efficient parsing and serialization of data.
|
class |
YamlWireOut<T extends YamlWireOut<T>>
Provides functionality for writing data in a YAML-based wire format.
|
| Modifier and Type | Method and Description |
|---|---|
default <E extends Enum<E>> |
ValueIn.asEnum(Class<E> eClass,
@NotNull Consumer<E> eConsumer)
Reads an Enum value of the specified type from the wire and applies it to a Consumer.
|
default <E extends Enum<E>,T> |
ValueIn.asEnum(Class<E> eClass,
T t,
@NotNull BiConsumer<T,E> teConsumer)
Reads an Enum value of the specified type from the wire and applies it to a given object using a BiConsumer.
|
WireIn |
BinaryWire.BinaryValueIn.bool(@NotNull net.openhft.chronicle.core.values.BooleanValue value) |
WireIn |
DefaultValueIn.bool(@NotNull net.openhft.chronicle.core.values.BooleanValue ret) |
WireIn |
ValueIn.bool(@NotNull net.openhft.chronicle.core.values.BooleanValue ret)
Reads a boolean value and populates the provided BooleanValue.
|
WireIn |
TextWire.TextValueIn.bool(@NotNull net.openhft.chronicle.core.values.BooleanValue value) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.bool(T t,
@NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag) |
<T> @NotNull WireIn |
DefaultValueIn.bool(T t,
@NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag) |
<T> @NotNull WireIn |
ValueIn.bool(T t,
@NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag)
Reads a boolean value and applies it to the provided consumer.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.bool(T t,
@NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag) |
@NotNull WireIn |
BinaryWire.BinaryValueIn.bytes(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes) |
@NotNull WireIn |
DefaultValueIn.bytes(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes) |
@NotNull WireIn |
ValueIn.bytes(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes)
Reads byte data into the provided BytesOut object.
|
@NotNull WireIn |
TextWire.TextValueIn.bytes(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes) |
@NotNull WireIn |
BinaryWire.BinaryValueIn.bytes(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes,
boolean clearBytes) |
default WireIn |
ValueIn.bytes(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes,
boolean clearBytes)
Reads byte data into the provided BytesOut object with an option to clear the BytesOut before reading.
|
@NotNull WireIn |
BinaryWire.BinaryValueIn.bytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable bytesConsumer) |
@NotNull WireIn |
DefaultValueIn.bytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable wireInConsumer) |
@NotNull WireIn |
ValueIn.bytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable bytesMarshallable)
Reads byte data using the provided ReadBytesMarshallable.
|
@NotNull WireIn |
TextWire.TextValueIn.bytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable bytesConsumer) |
@NotNull WireIn |
BinaryWire.BinaryValueIn.bytesLiteral(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes) |
default @NotNull WireIn |
ValueIn.bytesLiteral(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes)
Reads byte data into the provided BytesOut object.
|
@NotNull WireIn |
BinaryWire.BinaryValueIn.bytesMatch(@NotNull net.openhft.chronicle.bytes.BytesStore<?,?> compareBytes,
@NotNull net.openhft.chronicle.core.util.BooleanConsumer consumer) |
@NotNull WireIn |
DefaultValueIn.bytesMatch(@NotNull net.openhft.chronicle.bytes.BytesStore<?,?> compareBytes,
@NotNull net.openhft.chronicle.core.util.BooleanConsumer consumer) |
@NotNull WireIn |
ValueIn.bytesMatch(@NotNull net.openhft.chronicle.bytes.BytesStore<?,?> compareBytes,
net.openhft.chronicle.core.util.BooleanConsumer consumer)
Compares byte data with the provided BytesStore and uses the given BooleanConsumer based on the result.
|
@NotNull WireIn |
TextWire.TextValueIn.bytesMatch(@NotNull net.openhft.chronicle.bytes.BytesStore<?,?> compareBytes,
net.openhft.chronicle.core.util.BooleanConsumer consumer) |
@Nullable WireIn |
BinaryWire.BinaryValueIn.bytesSet(@NotNull net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
@Nullable WireIn |
DefaultValueIn.bytesSet(@NotNull net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
@Nullable WireIn |
ValueIn.bytesSet(@NotNull net.openhft.chronicle.bytes.PointerBytesStore toBytes)
Sets byte data to the provided PointerBytesStore.
|
@Nullable WireIn |
TextWire.TextValueIn.bytesSet(@NotNull net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
default <O,T extends ReadMarshallable> |
ValueIn.collection(O o,
Function<O,T> tSupplier)
Reads a sequence of
ReadMarshallable items into a collection, where each item is constructed using the provided Function. |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.date(T t,
@NotNull BiConsumer<T,LocalDate> tLocalDate) |
<T> @NotNull WireIn |
DefaultValueIn.date(T t,
@NotNull BiConsumer<T,LocalDate> tLocalDate) |
<T> @NotNull WireIn |
ValueIn.date(T t,
@NotNull BiConsumer<T,LocalDate> tLocalDate)
Reads a LocalDate from the wire and applies it to a given object using the provided BiConsumer.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.date(T t,
@NotNull BiConsumer<T,LocalDate> tLocalDate) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.float32(T t,
@NotNull net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf) |
<T> @NotNull WireIn |
DefaultValueIn.float32(T t,
@NotNull net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf) |
<T> @NotNull WireIn |
ValueIn.float32(T t,
@NotNull net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf)
Reads a 32-bit floating-point (float) value and applies an ObjFloatConsumer with the provided object and the read value.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.float32(T t,
@NotNull net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.float64(T t,
@NotNull ObjDoubleConsumer<T> td) |
<T> @NotNull WireIn |
DefaultValueIn.float64(T t,
@NotNull ObjDoubleConsumer<T> td) |
<T> @NotNull WireIn |
ValueIn.float64(T t,
@NotNull ObjDoubleConsumer<T> td)
Reads a 64-bit floating-point (double) value and applies an ObjDoubleConsumer with the provided object and the read value.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.float64(T t,
@NotNull ObjDoubleConsumer<T> td) |
@NotNull WireIn |
BinaryWire.BinaryValueIn.int128(@NotNull net.openhft.chronicle.core.values.TwoLongValue value) |
default @NotNull WireIn |
ValueIn.int128(@NotNull net.openhft.chronicle.core.values.TwoLongValue value)
Reads a 128-bit integer value from the wire into the specified TwoLongValue.
|
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.int16(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> @NotNull WireIn |
DefaultValueIn.int16(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> @NotNull WireIn |
ValueIn.int16(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti)
Reads a 16-bit integer (short) value and applies an ObjShortConsumer with the provided object and the read value.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.int16(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
@NotNull WireIn |
BinaryWire.BinaryValueIn.int32(@NotNull net.openhft.chronicle.core.values.IntValue value) |
@NotNull WireIn |
DefaultValueIn.int32(@NotNull net.openhft.chronicle.core.values.IntValue value) |
@NotNull WireIn |
ValueIn.int32(@NotNull net.openhft.chronicle.core.values.IntValue value)
Reads a 32-bit integer value from the wire into the specified IntValue.
|
@NotNull WireIn |
TextWire.TextValueIn.int32(@NotNull net.openhft.chronicle.core.values.IntValue value) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.int32(@Nullable net.openhft.chronicle.core.values.IntValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter) |
<T> @NotNull WireIn |
DefaultValueIn.int32(@Nullable net.openhft.chronicle.core.values.IntValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter) |
<T> @NotNull WireIn |
ValueIn.int32(@Nullable net.openhft.chronicle.core.values.IntValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter)
Reads a 32-bit signed integer, populates the IntValue, and applies the IntValue using the provided consumer.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.int32(@Nullable net.openhft.chronicle.core.values.IntValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.int32(T t,
@NotNull ObjIntConsumer<T> ti) |
<T> @NotNull WireIn |
DefaultValueIn.int32(T t,
@NotNull ObjIntConsumer<T> ti) |
<T> @NotNull WireIn |
ValueIn.int32(T t,
@NotNull ObjIntConsumer<T> ti)
Reads a 32-bit integer (int) value and applies an ObjIntConsumer with the provided object and the read value.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.int32(T t,
@NotNull ObjIntConsumer<T> ti) |
@NotNull WireIn |
BinaryWire.BinaryValueIn.int64(@NotNull net.openhft.chronicle.core.values.LongValue value) |
@NotNull WireIn |
DefaultValueIn.int64(@NotNull net.openhft.chronicle.core.values.LongValue value) |
@NotNull WireIn |
ValueIn.int64(@NotNull net.openhft.chronicle.core.values.LongValue value)
Reads a 64-bit integer value from the wire into the specified LongValue.
|
@NotNull WireIn |
TextWire.TextValueIn.int64(@NotNull net.openhft.chronicle.core.values.LongValue value) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.int64(@Nullable net.openhft.chronicle.core.values.LongValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter) |
<T> @NotNull WireIn |
DefaultValueIn.int64(@Nullable net.openhft.chronicle.core.values.LongValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter) |
<T> @NotNull WireIn |
ValueIn.int64(@Nullable net.openhft.chronicle.core.values.LongValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter)
Reads a 64-bit signed integer, populates the LongValue, and applies the LongValue using the provided consumer.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.int64(@Nullable net.openhft.chronicle.core.values.LongValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.int64(T t,
@NotNull ObjLongConsumer<T> tl) |
<T> @NotNull WireIn |
DefaultValueIn.int64(T t,
@NotNull ObjLongConsumer<T> tl) |
<T> @NotNull WireIn |
ValueIn.int64(T t,
@NotNull ObjLongConsumer<T> tl)
Reads a 64-bit integer (long) value and applies an ObjLongConsumer with the provided object and the read value.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.int64(T t,
@NotNull ObjLongConsumer<T> tl) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.int64array(@Nullable net.openhft.chronicle.core.values.LongArrayValues values,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter) |
<T> @NotNull WireIn |
DefaultValueIn.int64array(@Nullable net.openhft.chronicle.core.values.LongArrayValues values,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter) |
<T> @NotNull WireIn |
ValueIn.int64array(@Nullable net.openhft.chronicle.core.values.LongArrayValues values,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter)
Reads a LongArrayValues from the wire and applies it to a given object using the provided BiConsumer.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.int64array(@Nullable net.openhft.chronicle.core.values.LongArrayValues values,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.int8(T t,
@NotNull net.openhft.chronicle.core.util.ObjByteConsumer<T> tb) |
<T> @NotNull WireIn |
DefaultValueIn.int8(T t,
@NotNull net.openhft.chronicle.core.util.ObjByteConsumer<T> tb) |
<T> @NotNull WireIn |
ValueIn.int8(T t,
@NotNull net.openhft.chronicle.core.util.ObjByteConsumer<T> tb)
Reads an 8-bit integer (byte) value and applies an ObjByteConsumer with the provided object and the read value.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.int8(T t,
@NotNull net.openhft.chronicle.core.util.ObjByteConsumer<T> tb) |
default <O,T extends ReadMarshallable> |
ValueIn.list(O o,
Function<O,T> tSupplier)
Reads a List of ReadMarshallable objects from the wire, and applies them to a provided object using the function.
|
default <T,E> @Nullable WireIn |
ValueIn.object(@NotNull Class<E> clazz,
T t,
@NotNull BiConsumer<T,E> e)
Reads an object of a specified class from the wire and applies it to a given object using a BiConsumer.
|
@NotNull WireIn |
RawWire.readAlignTo(int alignment) |
default @NotNull WireIn |
WireIn.readAlignTo(int alignment)
Adjusts the read position of the WireIn to align with the specified boundary.
|
@NotNull WireIn |
WireIn.readComment(@NotNull StringBuilder sb)
Reads a comment from the Wire data and appends it to the provided StringBuilder.
|
@NotNull WireIn |
AbstractAnyWire.readComment(@NotNull StringBuilder sb) |
<T,K> @NotNull WireIn |
BinaryWire.BinaryValueIn.sequence(T t,
K kls,
@NotNull TriConsumer<T,K,ValueIn> tReader) |
<T,K> @NotNull WireIn |
DefaultValueIn.sequence(T t,
K kls,
@NotNull TriConsumer<T,K,ValueIn> tReader) |
<T,K> @NotNull WireIn |
ValueIn.sequence(T t,
K k,
@NotNull TriConsumer<T,K,ValueIn> tReader)
Processes a sequence of values from the wire, applying a TriConsumer to each item in the sequence.
|
<T,K> @NotNull WireIn |
TextWire.TextValueIn.sequence(T t,
K kls,
@NotNull TriConsumer<T,K,ValueIn> tReader) |
default <O,T extends ReadMarshallable> |
ValueIn.set(O o,
Function<O,T> tSupplier)
Reads a Set of ReadMarshallable objects from the wire, and applies them to a provided object using the function.
|
@NotNull WireIn |
BinaryWire.BinaryValueIn.skipValue() |
@NotNull WireIn |
DefaultValueIn.skipValue() |
@NotNull WireIn |
ValueIn.skipValue()
Skips the current value while reading.
|
@NotNull WireIn |
TextWire.TextValueIn.skipValue() |
default @NotNull WireIn |
ValueIn.text(@NotNull net.openhft.chronicle.bytes.Bytes<?> sdo)
Reads text data into the provided Bytes object, which is then cleared.
|
default @NotNull WireIn |
ValueIn.text(@NotNull StringBuilder sb)
Reads text data and appends it to the given StringBuilder.
|
default <T> @NotNull WireIn |
ValueIn.text(T t,
@NotNull BiConsumer<T,String> ts)
Reads text data and applies a given bi-consumer to the text data and the provided object.
|
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.time(T t,
@NotNull BiConsumer<T,LocalTime> setLocalTime) |
<T> @NotNull WireIn |
DefaultValueIn.time(T t,
@NotNull BiConsumer<T,LocalTime> setLocalTime) |
<T> @NotNull WireIn |
ValueIn.time(T t,
@NotNull BiConsumer<T,LocalTime> setLocalTime) |
<T> @NotNull WireIn |
TextWire.TextValueIn.time(T t,
@NotNull BiConsumer<T,LocalTime> setLocalTime) |
default <T> @NotNull WireIn |
ValueIn.typeLiteral(T t,
@NotNull BiConsumer<T,Class> classConsumer)
Reads a type literal as text and applies it to a given object using the provided BiConsumer.
|
default <T> @NotNull WireIn |
ValueIn.typeLiteral(T t,
@NotNull BiConsumer<T,Class> classConsumer,
Class<?> defaultClass)
Reads a type literal from the wire, applies it to a given object using the provided BiConsumer, and uses a default Class if necessary.
|
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.typeLiteralAsText(T t,
@NotNull BiConsumer<T,CharSequence> classNameConsumer) |
<T> @NotNull WireIn |
DefaultValueIn.typeLiteralAsText(T t,
@NotNull BiConsumer<T,CharSequence> ts) |
<T> @NotNull WireIn |
ValueIn.typeLiteralAsText(T t,
@NotNull BiConsumer<T,CharSequence> classNameConsumer)
Consumes a type literal (a class name) as text from the wire, passing it to a consumer.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.typeLiteralAsText(T t,
@NotNull BiConsumer<T,CharSequence> classNameConsumer) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.uint16(T t,
@NotNull ObjIntConsumer<T> ti) |
<T> @NotNull WireIn |
DefaultValueIn.uint16(T t,
@NotNull ObjIntConsumer<T> ti) |
<T> @NotNull WireIn |
ValueIn.uint16(T t,
@NotNull ObjIntConsumer<T> ti)
Reads an unsigned 16-bit integer (int) value and applies an ObjIntConsumer with the provided object and the read value.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.uint16(T t,
@NotNull ObjIntConsumer<T> ti) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.uint32(T t,
@NotNull ObjLongConsumer<T> tl) |
<T> @NotNull WireIn |
DefaultValueIn.uint32(T t,
@NotNull ObjLongConsumer<T> tl) |
<T> @NotNull WireIn |
ValueIn.uint32(T t,
@NotNull ObjLongConsumer<T> tl)
Reads an unsigned 32-bit integer (long) value and applies an ObjLongConsumer with the provided object and the read value.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.uint32(T t,
@NotNull ObjLongConsumer<T> tl) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.uint8(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> @NotNull WireIn |
DefaultValueIn.uint8(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> @NotNull WireIn |
ValueIn.uint8(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti)
Reads an unsigned 8-bit integer (short) value and applies an ObjShortConsumer with the provided object and the read value.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.uint8(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.uuid(T t,
@NotNull BiConsumer<T,UUID> tuuid) |
<T> @NotNull WireIn |
DefaultValueIn.uuid(T t,
@NotNull BiConsumer<T,UUID> tuuid) |
<T> @NotNull WireIn |
ValueIn.uuid(T t,
@NotNull BiConsumer<T,UUID> tuuid)
Reads a UUID from the wire and applies it to a given object using the provided BiConsumer.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.uuid(T t,
@NotNull BiConsumer<T,UUID> tuuid) |
@NotNull WireIn |
BinaryWire.BinaryValueIn.wireIn() |
@NotNull WireIn |
DefaultValueIn.wireIn() |
@NotNull WireIn |
ValueIn.wireIn()
Provides the current WireIn instance.
|
@NotNull WireIn |
TextWire.TextValueIn.wireIn() |
<T> @NotNull WireIn |
BinaryWire.BinaryValueIn.zonedDateTime(T t,
@NotNull BiConsumer<T,ZonedDateTime> tZonedDateTime) |
<T> @NotNull WireIn |
DefaultValueIn.zonedDateTime(T t,
@NotNull BiConsumer<T,ZonedDateTime> tZonedDateTime) |
<T> @NotNull WireIn |
ValueIn.zonedDateTime(T t,
@NotNull BiConsumer<T,ZonedDateTime> tZonedDateTime)
Reads a ZonedDateTime from the wire and applies it to a given object using the provided BiConsumer.
|
<T> @NotNull WireIn |
TextWire.TextValueIn.zonedDateTime(T t,
@NotNull BiConsumer<T,ZonedDateTime> tZonedDateTime) |
| Modifier and Type | Method and Description |
|---|---|
default void |
WireParser.accept(@NotNull WireIn wireIn)
Default implementation for the Consumer's accept method.
|
static net.openhft.chronicle.bytes.Bytes<?> |
Wires.asBinary(@NotNull WireIn wireIn,
net.openhft.chronicle.bytes.Bytes<?> output) |
static net.openhft.chronicle.bytes.Bytes<?> |
Wires.asJson(@NotNull WireIn wireIn,
net.openhft.chronicle.bytes.Bytes<?> output) |
static @NotNull CharSequence |
Wires.asText(@NotNull WireIn wireIn,
net.openhft.chronicle.bytes.Bytes<?> output) |
static String |
Wires.fromSizePrefixedBlobs(@NotNull WireIn wireIn)
Converts the contents of the provided
WireIn
which represent size-prefixed blobs into a readable string format. |
static String |
Wires.fromSizePrefixedBlobs(@NotNull WireIn wireIn,
boolean abbrev)
Converts the contents of the provided
WireIn
which represent size-prefixed blobs into a readable string format,
with the option to abbreviate the output. |
static <T extends Demarshallable> |
Demarshallable.newInstance(@NotNull Class<T> clazz,
WireIn wireIn)
Provides a utility method to create a new instance of a class that implements the `Demarshallable` interface.
|
static @NotNull WireDumper |
WireDumper.of(@NotNull WireIn wireIn)
Factory method to create a new WireDumper instance given a
WireIn object. |
void |
WireParser.parseOne(@NotNull WireIn wireIn)
Parses a single field-value data from the provided wire input.
|
void |
VanillaWireParser.parseOne(@NotNull WireIn wireIn)
Parses a single input from the wire.
|
static void |
WireInternal.rawReadData(@NotNull WireIn wireIn,
@NotNull ReadMarshallable dataConsumer)
Reads raw data from the given
wireIn without processing metadata and uses the provided
dataConsumer to process this data. |
static boolean |
WireInternal.readData(long offset,
@NotNull WireIn wireIn,
@Nullable ReadMarshallable metaDataConsumer,
@Nullable ReadMarshallable dataConsumer)
Reads data from the provided
wireIn starting from the given offset, and processes
the data using the provided meta data and data consumers. |
static boolean |
WireInternal.readData(@NotNull WireIn wireIn,
@Nullable ReadMarshallable metaDataConsumer,
@Nullable ReadMarshallable dataConsumer)
Reads data from the given
wireIn and processes the data using the provided
meta data and data consumers. |
void |
ReadingMarshaller.readFromWire(T t,
WireIn in)
Deprecated.
|
static void |
Wires.readMarshallable(Class<?> clazz,
@NotNull Object marshallable,
@NotNull WireIn wire,
boolean overwrite)
Reads a Marshallable object's fields from a WireIn instance using a specified class type.
|
static void |
Wires.readMarshallable(@NotNull Object marshallable,
@NotNull WireIn wire,
boolean overwrite)
Reads a Marshallable object's fields from a WireIn instance.
|
void |
WireMarshallerForUnexpectedFields.readMarshallable(T t,
@NotNull WireIn in,
boolean overwrite) |
void |
WireMarshaller.readMarshallable(T t,
@NotNull WireIn in,
boolean overwrite)
Reads and populates the DTO based on the provided input.
|
void |
AbstractMarshallableCfg.readMarshallable(@NotNull WireIn wire)
Reads the state of this configuration object from the given wire input.
|
void |
VanillaMessageHistory.readMarshallable(@NotNull WireIn wire) |
default void |
Marshallable.readMarshallable(@NotNull WireIn wire)
Reads the state of the Marshallable object from the given wire input.
|
void |
LongArrayValueBitSet.readMarshallable(@NotNull WireIn wire) |
void |
ReadMarshallable.readMarshallable(@NotNull WireIn wire)
Reads the object's state from the given wire input.
|
void |
WireSerializedLambda.readMarshallable(@NotNull WireIn wire) |
void |
LongValueBitSet.readMarshallable(@NotNull WireIn wire) |
void |
WireMarshaller.readMarshallableDTOOrder(T t,
@NotNull WireIn in,
boolean overwrite)
Reads and populates the DTO based on the provided order.
|
void |
WireMarshaller.readMarshallableInputOrder(T t,
@NotNull WireIn in,
boolean overwrite)
Reads and populates the DTO based on the input's order.
|
void |
FieldNumberParselet.readOne(long methodId,
WireIn wire)
Reads and processes data corresponding to the given field number (methodId) from the wire input.
|
protected abstract MethodReaderStatus |
AbstractGeneratedMethodReader.readOneGenerated(WireIn wireIn)
Reads call name and arguments from the wire and performs invocation on a target object instance.
|
protected abstract MethodReaderStatus |
AbstractGeneratedMethodReader.readOneMetaGenerated(WireIn wireIn) |
static long |
Wires.readWire(@NotNull WireIn wireIn,
long size,
@NotNull ReadMarshallable readMarshallable)
Reads data from a WireIn up to a specified size using a ReadMarshallable instance.
|
static void |
WireParser.skipReadable(long ignoreMethodId,
WireIn wire)
Skips all readable bytes in the wire.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
DefaultValueIn.applyToMarshallable(Function<WireIn,T> marshallableReader) |
<T> T |
ValueIn.applyToMarshallable(Function<WireIn,T> marshallableReader)
Applies a Function to this ValueIn, interpreting it as a WireIn for a marshallable object.
|
Copyright © 2024. All rights reserved.