| Package | Description |
|---|---|
| net.openhft.chronicle.wire |
| Modifier and Type | Class and Description |
|---|---|
protected class |
BinaryWire.BinaryValueOut
Extends the FixedBinaryValueOut class to support binary value outputs with additional logic for converting
and writing different types of numbers, namely integers and longs.
|
protected class |
BinaryWire.FixedBinaryValueOut
Implementation of the ValueOut interface, providing methods to write values in a fixed binary format.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull ValueOut |
BinaryWire.getValueOut() |
@NotNull ValueOut |
RawWire.getValueOut() |
@NotNull ValueOut |
YamlWireOut.getValueOut() |
@NotNull ValueOut |
QueryWire.getValueOut() |
@NotNull ValueOut |
WireOut.getValueOut()
Retrieves the interface for defining the output of a value
that will be written to the stream.
|
@NotNull ValueOut |
AbstractAnyWire.getValueOut() |
@NotNull ValueOut |
HashWire.getValueOut() |
default @NotNull ValueOut |
ValueOut.optionalTyped(Class<?> aClass)
Add an optional type i.e.
|
@NotNull ValueOut |
BinaryWire.FixedBinaryValueOut.typePrefix(CharSequence typeName) |
@NotNull ValueOut |
ValueOut.typePrefix(CharSequence typeName)
Write a prefix that denotes a type for the upcoming value.
|
default @NotNull ValueOut |
ValueOut.typePrefix(Class<?> type)
Write a type prefix for a specified
Class object. |
@NotNull ValueOut |
BinaryWire.write() |
@NotNull ValueOut |
RawWire.write() |
@NotNull ValueOut |
YamlWireOut.write() |
@NotNull ValueOut |
QueryWire.write() |
@NotNull ValueOut |
WireOut.write()
Writes an empty field marker to the stream.
|
@NotNull ValueOut |
AbstractAnyWire.write() |
@NotNull ValueOut |
HashWire.write() |
@NotNull ValueOut |
BinaryWire.write(@NotNull CharSequence key) |
@NotNull ValueOut |
RawWire.write(@NotNull CharSequence name) |
@NotNull ValueOut |
YamlWireOut.write(@NotNull CharSequence name) |
@NotNull ValueOut |
QueryWire.write(@NotNull CharSequence name) |
ValueOut |
WireOut.write(CharSequence key)
Writes a CharSequence key to the stream.
|
ValueOut |
AbstractAnyWire.write(CharSequence key) |
@NotNull ValueOut |
HashWire.write(@NotNull CharSequence name) |
@NotNull ValueOut |
BinaryWire.write(@NotNull WireKey key) |
@NotNull ValueOut |
RawWire.write(@NotNull WireKey key) |
@NotNull ValueOut |
YamlWireOut.write(@NotNull WireKey key) |
@NotNull ValueOut |
QueryWire.write(@NotNull WireKey key) |
@NotNull ValueOut |
WireOut.write(WireKey key)
Writes a WireKey to the stream.
|
@NotNull ValueOut |
AbstractAnyWire.write(WireKey key) |
@NotNull ValueOut |
HashWire.write(@NotNull WireKey key) |
ValueOut |
JSONWire.writeEvent(Class<?> expectedType,
Object eventKey) |
ValueOut |
YamlWireOut.writeEvent(Class<?> expectedType,
Object eventKey) |
default ValueOut |
WireOut.writeEvent(Class<?> expectedType,
Object eventKey)
Writes an event to the stream based on the type and event key.
|
ValueOut |
AbstractAnyWire.writeEvent(Class<?> expectedType,
Object eventKey) |
@NotNull ValueOut |
HashWire.writeEvent(Class<?> ignored,
@NotNull Object eventKey) |
ValueOut |
BinaryWire.writeEventId(int methodId) |
default ValueOut |
WireOut.writeEventId(int methodId)
Writes an event identifier to the stream.
|
ValueOut |
BinaryWire.writeEventId(String name,
int methodId) |
default ValueOut |
WireOut.writeEventId(String name,
int methodId)
Writes an event identifier with a name to the stream.
|
@NotNull ValueOut |
BinaryWire.writeEventName(@NotNull CharSequence name) |
@NotNull ValueOut |
RawWire.writeEventName(@NotNull CharSequence name) |
default ValueOut |
WireOut.writeEventName(CharSequence key)
Writes a CharSequence key to the stream.
|
@NotNull ValueOut |
BinaryWire.writeEventName(@NotNull WireKey key) |
@NotNull ValueOut |
RawWire.writeEventName(@NotNull WireKey key) |
default @NotNull ValueOut |
WireOut.writeEventName(WireKey key)
Writes a key to the stream.
|
@NotNull ValueOut |
BinaryWire.FixedBinaryValueOut.writeLength(long length) |
@NotNull ValueOut |
ValueOut.writeLength(long remaining)
Write the length of a value if supported by the implementing class.
|
| Modifier and Type | Method and Description |
|---|---|
static <L> void |
WireSerializedLambda.write(L lambda,
@NotNull ValueOut valueOut)
Serializes the given lambda to a Wire format using the provided
ValueOut instance. |
void |
ValueWriter.writeValue(T t,
ValueOut valueOut)
Deprecated.
|
default void |
WriteMarshallable.writeValue(@NotNull ValueOut out)
Writes the current state of the marshallable entity as a value
to the provided output.
|
void |
WriteValue.writeValue(ValueOut out)
Writes the current state of the implementing object as a value
to the provided
ValueOut representation. |
| Modifier and Type | Method and Description |
|---|---|
<T> @NotNull WireOut |
ValueOut.sequence(T t,
BiConsumer<T,ValueOut> writer)
Writes a sequence of values using the provided writer.
|
<T,K> @NotNull WireOut |
ValueOut.sequence(T t,
K param,
TriConsumer<T,K,ValueOut> writer)
Writes a sequence of values using the provided parametrized writer.
|
default <T> WireOut |
ValueOut.sequenceWithLength(T t,
int length,
ObjectIntObjectConsumer<T,ValueOut> writer)
Writes a sequence of values of a specified length.
|
Copyright © 2024. All rights reserved.