protected class BinaryWire.BinaryValueIn extends Object implements ValueIn
ValueIn.Reader| Modifier | Constructor and Description |
|---|---|
protected |
BinaryValueIn() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
anchor() |
<T> T |
applyToMarshallable(@NotNull Function<WireIn,T> marshallableReader) |
boolean |
bool() |
WireIn |
bool(@NotNull net.openhft.chronicle.core.values.BooleanValue value) |
<T> @NotNull WireIn |
bool(T t,
@NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag) |
@Nullable byte[] |
bytes(byte[] using) |
@NotNull WireIn |
bytes(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes) |
@NotNull WireIn |
bytes(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes,
boolean clearBytes) |
@NotNull WireIn |
bytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable bytesConsumer) |
@NotNull net.openhft.chronicle.bytes.BytesStore |
bytesLiteral() |
@NotNull WireIn |
bytesLiteral(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes) |
@NotNull WireIn |
bytesMatch(@NotNull net.openhft.chronicle.bytes.BytesStore compareBytes,
@NotNull net.openhft.chronicle.core.util.BooleanConsumer consumer) |
@Nullable WireIn |
bytesSet(@NotNull net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
@Nullable net.openhft.chronicle.bytes.BytesStore |
bytesStore() |
void |
bytesStore(@NotNull net.openhft.chronicle.bytes.Bytes<?> toBytes) |
void |
bytesStore(@NotNull StringBuilder sb) |
net.openhft.chronicle.core.pool.ClassLookup |
classLookup() |
net.openhft.chronicle.wire.ValueInState |
curr() |
<T> @NotNull WireIn |
date(T t,
@NotNull BiConsumer<T,LocalDate> tLocalDate) |
@Nullable Demarshallable |
demarshallable(@NotNull Class clazz) |
float |
float32() |
<T> @NotNull WireIn |
float32(T t,
@NotNull net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf) |
double |
float64() |
<T> @NotNull WireIn |
float64(T t,
@NotNull ObjDoubleConsumer<T> td) |
@NotNull BracketType |
getBracketType() |
boolean |
hasNext() |
boolean |
hasNextSequenceItem() |
@NotNull WireIn |
int128(@NotNull net.openhft.chronicle.core.values.TwoLongValue value) |
short |
int16() |
<T> @NotNull WireIn |
int16(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
int |
int32() |
@NotNull WireIn |
int32(@NotNull net.openhft.chronicle.core.values.IntValue value) |
<T> @NotNull WireIn |
int32(@Nullable net.openhft.chronicle.core.values.IntValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter) |
<T> @NotNull WireIn |
int32(T t,
@NotNull ObjIntConsumer<T> ti) |
long |
int64() |
@NotNull WireIn |
int64(@NotNull net.openhft.chronicle.core.values.LongValue value) |
<T> @NotNull WireIn |
int64(@Nullable net.openhft.chronicle.core.values.LongValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter) |
<T> @NotNull WireIn |
int64(T t,
@NotNull ObjLongConsumer<T> tl) |
<T> @NotNull WireIn |
int64array(@Nullable net.openhft.chronicle.core.values.LongArrayValues values,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter) |
byte |
int8() |
<T> @NotNull WireIn |
int8(T t,
@NotNull net.openhft.chronicle.core.util.ObjByteConsumer<T> tb) |
boolean |
isBinary() |
boolean |
isNull() |
boolean |
isTyped() |
@Nullable Object |
marshallable(@NotNull Object object,
@NotNull SerializationStrategy strategy) |
boolean |
marshallable(@NotNull ReadMarshallable object) |
boolean |
marshallable(@NotNull ReadMarshallable object,
boolean overwrite) |
Object |
objectWithInferredType(Object using,
@NotNull SerializationStrategy strategy,
Class type) |
void |
popState() |
void |
pushState() |
long |
readLength()
the length of the field as bytes including any encoding and header character
|
long |
readLong(LongConverter longConverter) |
void |
resetState() |
<T> boolean |
sequence(@NotNull List<T> list,
@NotNull List<T> buffer,
@NotNull Supplier<T> bufferAdd)
sequence to use when using a cached buffer
|
<T> boolean |
sequence(List<T> list,
@NotNull List<T> buffer,
Supplier<T> bufferAdd,
ValueIn.Reader tReader) |
<T> boolean |
sequence(T t,
@NotNull BiConsumer<T,ValueIn> tReader) |
<T,K> @NotNull WireIn |
sequence(T t,
K kls,
@NotNull TriConsumer<T,K,ValueIn> tReader) |
<T> int |
sequenceWithLength(T t,
@NotNull ToIntBiFunction<ValueIn,T> tReader) |
@NotNull WireIn |
skipValue() |
@Nullable String |
text() |
@Nullable net.openhft.chronicle.bytes.Bytes<?> |
textTo(@NotNull net.openhft.chronicle.bytes.Bytes<?> bytes) |
@Nullable StringBuilder |
textTo(@NotNull StringBuilder sb) |
<T> @NotNull WireIn |
time(T t,
@NotNull BiConsumer<T,LocalTime> setLocalTime) |
<T> T |
typedMarshallable() |
<T> T |
typedMarshallable(@NotNull Function<Class,ReadMarshallable> marshallableFunction) |
protected <T> T |
typedMarshallable0() |
Type |
typeLiteral(BiFunction<CharSequence,ClassNotFoundException,Type> unresolvedHandler) |
<T> @NotNull WireIn |
typeLiteralAsText(T t,
@NotNull BiConsumer<T,CharSequence> classNameConsumer) |
Class |
typePrefix() |
<T> @NotNull ValueIn |
typePrefix(T t,
@NotNull BiConsumer<T,CharSequence> ts) |
Object |
typePrefixOrObject(Class tClass)
read a class with a super class or actual class as a hint
|
int |
uint16() |
<T> @NotNull WireIn |
uint16(T t,
@NotNull ObjIntConsumer<T> ti) |
<T> @NotNull WireIn |
uint32(T t,
@NotNull ObjLongConsumer<T> tl) |
<T> @NotNull WireIn |
uint8(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
protected <T> T |
updateAlias() |
@NotNull UUID |
uuid() |
<T> @NotNull WireIn |
uuid(T t,
@NotNull BiConsumer<T,UUID> tuuid) |
@NotNull WireIn |
wireIn() |
<T> @NotNull WireIn |
zonedDateTime(T t,
@NotNull BiConsumer<T,ZonedDateTime> tZonedDateTime) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarray, array, array, array, array, array, arrayDelta, arrayDelta, asEnum, asEnum, asEnum, byteBuffer, bytes, character, collection, collection, date, dateTime, float32, float64, int32, int64, int64ForBinding, isPresent, lenientTypeLiteral, list, list, marshallable, marshallableAsMap, marshallableAsMap, object, object, object, object, object, objectBestEffort, readBoolean, readByte, readChar, readDouble, reader0, readFloat, readInt, readLong, readShort, readString, sequence, set, set, text, text, text, throwable, time, typeLiteral, typeLiteral, typeLiteral, zonedDateTimepublic long readLong(LongConverter longConverter)
public void resetState()
resetState in interface ValueInpublic void pushState()
public void popState()
public net.openhft.chronicle.wire.ValueInState curr()
@NotNull public @NotNull BracketType getBracketType()
getBracketType in interface ValueIn@Nullable public @Nullable StringBuilder textTo(@NotNull @NotNull StringBuilder sb)
@Nullable
public @Nullable net.openhft.chronicle.bytes.Bytes<?> textTo(@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<?> bytes)
@NotNull public @NotNull WireIn bytes(@NotNull @NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes)
@NotNull public @NotNull WireIn bytes(@NotNull @NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes, boolean clearBytes)
@NotNull public @NotNull WireIn bytesLiteral(@NotNull @NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes)
bytesLiteral in interface ValueIn@NotNull public @NotNull net.openhft.chronicle.bytes.BytesStore bytesLiteral()
bytesLiteral in interface ValueIn@Nullable public @Nullable WireIn bytesSet(@NotNull @NotNull net.openhft.chronicle.bytes.PointerBytesStore toBytes)
@NotNull public @NotNull WireIn bytesMatch(@NotNull @NotNull net.openhft.chronicle.bytes.BytesStore compareBytes, @NotNull @NotNull net.openhft.chronicle.core.util.BooleanConsumer consumer)
bytesMatch in interface ValueIn@Nullable public @Nullable net.openhft.chronicle.bytes.BytesStore bytesStore()
bytesStore in interface ValueInpublic void bytesStore(@NotNull
@NotNull StringBuilder sb)
public void bytesStore(@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<?> toBytes)
@NotNull public @NotNull WireIn bytes(@NotNull @NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable bytesConsumer)
@Nullable public @Nullable byte[] bytes(byte[] using)
public long readLength()
ValueInreadLength in interface ValueIn@NotNull public <T> @NotNull WireIn bool(T t, @NotNull @NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag)
@NotNull public <T> @NotNull WireIn int8(@NotNull T t, @NotNull @NotNull net.openhft.chronicle.core.util.ObjByteConsumer<T> tb)
@NotNull public <T> @NotNull WireIn uint8(@NotNull T t, @NotNull @NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti)
@NotNull public <T> @NotNull WireIn int16(@NotNull T t, @NotNull @NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti)
@NotNull public <T> @NotNull WireIn uint16(@NotNull T t, @NotNull @NotNull ObjIntConsumer<T> ti)
@NotNull public <T> @NotNull WireIn int32(@NotNull T t, @NotNull @NotNull ObjIntConsumer<T> ti)
@NotNull public <T> @NotNull WireIn uint32(@NotNull T t, @NotNull @NotNull ObjLongConsumer<T> tl)
@NotNull public <T> @NotNull WireIn int64(@NotNull T t, @NotNull @NotNull ObjLongConsumer<T> tl)
@NotNull public <T> @NotNull WireIn float32(@NotNull T t, @NotNull @NotNull net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf)
@NotNull public <T> @NotNull WireIn float64(@NotNull T t, @NotNull @NotNull ObjDoubleConsumer<T> td)
@NotNull public <T> @NotNull WireIn time(@NotNull T t, @NotNull @NotNull BiConsumer<T,LocalTime> setLocalTime)
@NotNull public <T> @NotNull WireIn zonedDateTime(@NotNull T t, @NotNull @NotNull BiConsumer<T,ZonedDateTime> tZonedDateTime)
zonedDateTime in interface ValueIn@NotNull public <T> @NotNull WireIn date(@NotNull T t, @NotNull @NotNull BiConsumer<T,LocalDate> tLocalDate)
public boolean hasNextSequenceItem()
hasNextSequenceItem in interface ValueIn@NotNull public <T> @NotNull WireIn uuid(@NotNull T t, @NotNull @NotNull BiConsumer<T,UUID> tuuid)
@NotNull public <T> @NotNull WireIn int64array(@Nullable @Nullable net.openhft.chronicle.core.values.LongArrayValues values, T t, @NotNull @NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter)
int64array in interface ValueIn@NotNull public @NotNull WireIn int128(@NotNull @NotNull net.openhft.chronicle.core.values.TwoLongValue value)
@NotNull public @NotNull WireIn int64(@NotNull @NotNull net.openhft.chronicle.core.values.LongValue value)
@NotNull public @NotNull WireIn int32(@NotNull @NotNull net.openhft.chronicle.core.values.IntValue value)
public WireIn bool(@NotNull @NotNull net.openhft.chronicle.core.values.BooleanValue value)
@NotNull public <T> @NotNull WireIn int64(@Nullable @Nullable net.openhft.chronicle.core.values.LongValue value, T t, @NotNull @NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter)
@NotNull public <T> @NotNull WireIn int32(@Nullable @Nullable net.openhft.chronicle.core.values.IntValue value, T t, @NotNull @NotNull BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter)
public <T> boolean sequence(@NotNull
T t,
@NotNull
@NotNull BiConsumer<T,ValueIn> tReader)
public <T> boolean sequence(@NotNull
@NotNull List<T> list,
@NotNull
@NotNull List<T> buffer,
@NotNull
@NotNull Supplier<T> bufferAdd)
throws net.openhft.chronicle.core.io.InvalidMarshallableException
ValueInpublic <T> boolean sequence(List<T> list, @NotNull @NotNull List<T> buffer, Supplier<T> bufferAdd, ValueIn.Reader tReader) throws net.openhft.chronicle.core.io.InvalidMarshallableException
@NotNull public <T,K> @NotNull WireIn sequence(@NotNull T t, K kls, @NotNull @NotNull TriConsumer<T,K,ValueIn> tReader) throws net.openhft.chronicle.core.io.InvalidMarshallableException
public <T> int sequenceWithLength(@NotNull
T t,
@NotNull
@NotNull ToIntBiFunction<ValueIn,T> tReader)
sequenceWithLength in interface ValueInpublic <T> T applyToMarshallable(@NotNull
@NotNull Function<WireIn,T> marshallableReader)
applyToMarshallable in interface ValueIn@Nullable
public <T> T typedMarshallable()
throws net.openhft.chronicle.core.io.IORuntimeException,
net.openhft.chronicle.core.io.InvalidMarshallableException
typedMarshallable in interface ValueInnet.openhft.chronicle.core.io.IORuntimeExceptionnet.openhft.chronicle.core.io.InvalidMarshallableException@Nullable
protected <T> T typedMarshallable0()
throws net.openhft.chronicle.core.io.InvalidMarshallableException
net.openhft.chronicle.core.io.InvalidMarshallableException@NotNull
protected <T> T updateAlias()
throws net.openhft.chronicle.core.io.InvalidMarshallableException
net.openhft.chronicle.core.io.InvalidMarshallableException@NotNull
protected <T> T anchor()
throws net.openhft.chronicle.core.io.InvalidMarshallableException
net.openhft.chronicle.core.io.InvalidMarshallableException@Nullable
public <T> T typedMarshallable(@NotNull
@NotNull Function<Class,ReadMarshallable> marshallableFunction)
throws net.openhft.chronicle.core.io.IORuntimeException,
net.openhft.chronicle.core.io.InvalidMarshallableException
typedMarshallable in interface ValueInnet.openhft.chronicle.core.io.IORuntimeExceptionnet.openhft.chronicle.core.io.InvalidMarshallableExceptionpublic Class typePrefix()
typePrefix in interface ValueInpublic Object typePrefixOrObject(Class tClass)
ValueIntypePrefixOrObject in interface ValueIntClass - the super-class, or actual class to use@NotNull public <T> @NotNull ValueIn typePrefix(T t, @NotNull @NotNull BiConsumer<T,CharSequence> ts)
typePrefix in interface ValueIn@NotNull public <T> @NotNull WireIn typeLiteralAsText(T t, @NotNull @NotNull BiConsumer<T,CharSequence> classNameConsumer)
typeLiteralAsText in interface ValueInpublic net.openhft.chronicle.core.pool.ClassLookup classLookup()
classLookup in interface ValueInpublic Type typeLiteral(BiFunction<CharSequence,ClassNotFoundException,Type> unresolvedHandler)
typeLiteral in interface ValueInpublic boolean marshallable(@NotNull
@NotNull ReadMarshallable object)
throws BufferUnderflowException,
net.openhft.chronicle.core.io.IORuntimeException,
net.openhft.chronicle.core.io.InvalidMarshallableException
marshallable in interface ValueInBufferUnderflowExceptionnet.openhft.chronicle.core.io.IORuntimeExceptionnet.openhft.chronicle.core.io.InvalidMarshallableExceptionpublic boolean marshallable(@NotNull
@NotNull ReadMarshallable object,
boolean overwrite)
throws BufferUnderflowException,
net.openhft.chronicle.core.io.IORuntimeException,
net.openhft.chronicle.core.io.InvalidMarshallableException
BufferUnderflowExceptionnet.openhft.chronicle.core.io.IORuntimeExceptionnet.openhft.chronicle.core.io.InvalidMarshallableException@Nullable public @Nullable Object marshallable(@NotNull @NotNull Object object, @NotNull @NotNull SerializationStrategy strategy) throws BufferUnderflowException, net.openhft.chronicle.core.io.IORuntimeException, net.openhft.chronicle.core.io.InvalidMarshallableException
marshallable in interface ValueInBufferUnderflowExceptionnet.openhft.chronicle.core.io.IORuntimeExceptionnet.openhft.chronicle.core.io.InvalidMarshallableException@Nullable public @Nullable Demarshallable demarshallable(@NotNull @NotNull Class clazz) throws BufferUnderflowException, net.openhft.chronicle.core.io.IORuntimeException
BufferUnderflowExceptionnet.openhft.chronicle.core.io.IORuntimeExceptionpublic boolean bool()
throws net.openhft.chronicle.core.io.IORuntimeException
public double float64()
public Object objectWithInferredType(Object using, @NotNull @NotNull SerializationStrategy strategy, Class type) throws net.openhft.chronicle.core.io.InvalidMarshallableException
objectWithInferredType in interface ValueInnet.openhft.chronicle.core.io.InvalidMarshallableExceptionCopyright © 2023. All rights reserved.