| 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
Primary implementation of the binary wire format.
|
class |
CSVWire
Text based wire format for Comma Separated Values (CSV).
|
class |
JSONWire
Represents the JSON wire format for text-based marshalling and parsing.
|
class |
QueryWire
Parses a URL query string such as
"a=1&b=2". |
class |
RawWire
Wire implementation that serialises values in sequence without any field names.
|
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)
Not implemented for default values.
|
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 target,
@NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> flagConsumer)
Reads the value as a
boolean and passes it, together with
target, to flagConsumer. |
<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)
Supplies the byte stream to
bytesMarshallable#readMarshallable for
custom deserialisation. |
@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 target,
@NotNull net.openhft.chronicle.core.util.ObjFloatConsumer<T> floatConsumer)
Reads the value as a
float and passes it to floatConsumer with
target. |
<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 target,
@NotNull ObjDoubleConsumer<T> doubleConsumer)
Reads the value as a
double and passes it to doubleConsumer with
target. |
<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 target,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> shortConsumer)
Reads the value as a short and passes it to
shortConsumer with target. |
<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 target,
@NotNull ObjIntConsumer<T> intConsumer)
Reads the value as an
int and passes it to intConsumer with
target. |
<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 target,
@NotNull ObjLongConsumer<T> longConsumer)
Reads the value as a
long and passes it to longConsumer with
target. |
<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)
Not implemented for default values.
|
<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 target,
@NotNull net.openhft.chronicle.core.util.ObjByteConsumer<T> byteConsumer)
Reads the value as a signed byte and passes it to
byteConsumer together with
target. |
<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 target,
@NotNull BiConsumer<T,String> consumer)
Deserialises the current value as text and passes it to
consumer along
with the supplied 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)
Supplies a
null type prefix to ts and returns the wire. |
<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 target,
@NotNull ObjIntConsumer<T> intConsumer)
Reads the value as an unsigned short and passes it to
intConsumer with
target. |
<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 target,
@NotNull ObjLongConsumer<T> longConsumer)
Reads the value as an unsigned int and passes it to
longConsumer with
target. |
<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 target,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> shortConsumer)
Reads the value as an unsigned byte and passes it to
shortConsumer with
target. |
<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)
Processes an entire document or event from
wireIn. |
static net.openhft.chronicle.bytes.Bytes<?> |
Wires.asBinary(@NotNull WireIn wireIn,
net.openhft.chronicle.bytes.Bytes<?> output)
Copies the contents of
wireIn into output using a binary wire. |
static net.openhft.chronicle.bytes.Bytes<?> |
Wires.asJson(@NotNull WireIn wireIn,
net.openhft.chronicle.bytes.Bytes<?> output)
Converts
wireIn to JSON and writes the result into output. |
static @NotNull CharSequence |
Wires.asText(@NotNull WireIn wireIn,
net.openhft.chronicle.bytes.Bytes<?> output)
Converts the contents of
wireIn to a text (YAML-like) representation. |
static String |
Wires.fromSizePrefixedBlobs(@NotNull WireIn wireIn)
Dumps the messages from a
WireIn as a human readable string. |
static String |
Wires.fromSizePrefixedBlobs(@NotNull WireIn wireIn,
boolean abbrev)
Dumps the messages from a
WireIn with optional abbreviation. |
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)
Creates a
WireDumper for the given WireIn instance. |
void |
WireParser.parseOne(@NotNull WireIn wireIn)
Parses a single field-value pair from the given
WireIn. |
void |
VanillaWireParser.parseOne(@NotNull WireIn wireIn)
Reads one field from
wireIn. |
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. |
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)
Overrides the default deserialisation logic to handle unexpected fields.
|
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)
Deserialises this history from a
WireIn. |
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)
Deserialises this
WireSerializedLambda from the given wire. |
void |
LongValueBitSet.readMarshallable(@NotNull WireIn wire)
Deserialises the backing words from
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)
Invoked when a numeric field ID is parsed.
|
protected abstract MethodReaderStatus |
AbstractGeneratedMethodReader.readOneGenerated(WireIn wireIn)
Dispatches a data event read from
wireIn. |
protected abstract MethodReaderStatus |
AbstractGeneratedMethodReader.readOneMetaGenerated(WireIn wireIn)
As
AbstractGeneratedMethodReader.readOneGenerated(WireIn) but for metadata events. |
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 provided 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 © 2026 Chronicle Software Ltd. All rights reserved.