@FunctionalInterface public interface MarshallableIn
| Modifier and Type | Method and Description |
|---|---|
default net.openhft.chronicle.bytes.MethodReader |
methodReader(Object... objects)
Reads messages from this tails as methods.
|
default VanillaMethodReaderBuilder |
methodReaderBuilder() |
default boolean |
readBytes(net.openhft.chronicle.bytes.Bytes using) |
default boolean |
readBytes(net.openhft.chronicle.bytes.ReadBytesMarshallable reader) |
default boolean |
readDocument(ReadMarshallable reader) |
DocumentContext |
readingDocument() |
default <K,V> Map<K,V> |
readMap()
Read a Map>String, Object> from the content.
|
default String |
readText()
Read the next message as a String
|
default boolean |
readText(StringBuilder sb)
Read the next message as string
|
@NotNull DocumentContext readingDocument()
default boolean readDocument(@NotNull
ReadMarshallable reader)
reader - user to read the documenttrue if successfuldefault boolean readBytes(@NotNull
net.openhft.chronicle.bytes.ReadBytesMarshallable reader)
reader - used to read the documenttrue if successfuldefault boolean readBytes(@NotNull
net.openhft.chronicle.bytes.Bytes using)
using - used to read the documenttrue if successful@Nullable default String readText()
default boolean readText(@NotNull
StringBuilder sb)
sb - to copy the text into@Nullable default <K,V> Map<K,V> readMap()
@NotNull default net.openhft.chronicle.bytes.MethodReader methodReader(Object... objects)
objects - which implement the methods serialized to the file.@NotNull default VanillaMethodReaderBuilder methodReaderBuilder()
Copyright © 2018. All rights reserved.