| Package | Description |
|---|---|
| net.openhft.chronicle.wire |
| Modifier and Type | Class and Description |
|---|---|
class |
SerializationStrategies
Enumerates the available serialization strategies, each implementing the
SerializationStrategy interface. |
| Modifier and Type | Field and Description |
|---|---|
static List<Function<Class<?>,SerializationStrategy>> |
Wires.CLASS_STRATEGY_FUNCTIONS |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Object |
BinaryWire.BinaryValueIn.marshallable(@NotNull Object object,
@NotNull SerializationStrategy strategy) |
@Nullable Object |
DefaultValueIn.marshallable(@NotNull Object object,
@NotNull SerializationStrategy strategy) |
@Nullable Object |
ValueIn.marshallable(@NotNull Object object,
@NotNull SerializationStrategy strategy)
Reads a marshallable object from the wire and applies a specified SerializationStrategy.
|
@Nullable Object |
TextWire.TextValueIn.marshallable(@NotNull Object object,
@NotNull SerializationStrategy strategy) |
static <E> E |
Wires.objectMap(ValueIn in,
E using,
@Nullable Class<? extends E> clazz,
@NotNull SerializationStrategy strategy)
Reads a map of objects from the given input, using a specified serialization strategy.
|
static <E> E |
Wires.objectSequence(ValueIn in,
E using,
@Nullable Class<? extends E> clazz,
SerializationStrategy strategy)
Reads a sequence of objects using a specified serialization strategy.
|
Object |
BinaryWire.BinaryValueIn.objectWithInferredType(Object using,
@NotNull SerializationStrategy strategy,
Class<?> type) |
Object |
DefaultValueIn.objectWithInferredType(Object using,
SerializationStrategy strategy,
Class<?> type) |
@Nullable Object |
ValueIn.objectWithInferredType(Object using,
SerializationStrategy strategy,
Class<?> type)
Reads an object from the wire with an inferred type.
|
Object |
TextWire.TextValueIn.objectWithInferredType(Object using,
@NotNull SerializationStrategy strategy,
Class<?> type) |
default <T> boolean |
ValueIn.sequence(T t,
@NotNull SerializationStrategy tReader)
Processes a sequence of values from the wire using a SerializationStrategy.
|
Copyright © 2024. All rights reserved.