public interface WireIn extends WireCommon
Created by peter.lawrey on 12/01/15.
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
copyTo(WireOut wire) |
ValueIn |
getValueIn()
Obtain the value in (for internal use)
|
boolean |
hasMore() |
boolean |
isReady() |
default void |
rawReadData(ReadMarshallable marshallable) |
ValueIn |
read()
Read the field if present, or empty string if not present.
|
ValueIn |
read(StringBuilder name)
Read the field if present, or empty string if not present.
|
ValueIn |
read(WireKey key)
Read the field if present which must match the WireKey.
|
default WireIn |
readAlignTo(int alignment) |
Wire |
readComment(StringBuilder sb) |
default boolean |
readDocument(long position,
ReadMarshallable metaDataConsumer,
ReadMarshallable dataConsumer) |
default boolean |
readDocument(ReadMarshallable metaDataConsumer,
ReadMarshallable dataConsumer) |
default ValueIn |
readEventName(StringBuilder name)
Read a field, or string which is always written, even for formats which might drop the field
such as RAW.
|
DocumentContext |
readingDocument() |
DocumentContext |
readingDocument(long readLocation) |
bytes, newIntReference, newLongArrayReference, newLongReferenceboolean isReady()
void copyTo(@NotNull
WireOut wire)
@NotNull ValueIn read()
@NotNull ValueIn read(@NotNull WireKey key)
@NotNull default ValueIn readEventName(@NotNull StringBuilder name)
@NotNull ValueIn read(@NotNull StringBuilder name)
@NotNull ValueIn getValueIn()
@NotNull Wire readComment(@NotNull StringBuilder sb)
void clear()
boolean hasMore()
@NotNull default WireIn readAlignTo(int alignment)
default boolean readDocument(@Nullable
ReadMarshallable metaDataConsumer,
@Nullable
ReadMarshallable dataConsumer)
default boolean readDocument(long position,
@Nullable
ReadMarshallable metaDataConsumer,
@Nullable
ReadMarshallable dataConsumer)
default void rawReadData(ReadMarshallable marshallable)
DocumentContext readingDocument()
DocumentContext readingDocument(long readLocation)
Copyright © 2016. All rights reserved.