protected class BinaryWire.FixedBinaryValueOut extends Object implements ValueOut
ValueOut.MapMarshaller<K,V>MM_TL, SMALL_MESSAGE, ZEROS_64| Modifier | Constructor and Description |
|---|---|
protected |
FixedBinaryValueOut() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull WireOut |
bool(@Nullable Boolean flag)
Write a boolean value.
|
@NotNull WireOut |
boolForBinding(boolean value,
@NotNull net.openhft.chronicle.core.values.BooleanValue booleanValue) |
@NotNull WireOut |
bytes(@NotNull byte[] fromBytes)
Write a byte sequence value.
|
@NotNull WireOut |
bytes(@Nullable net.openhft.chronicle.bytes.BytesStore fromBytes)
Write a byte sequence value from
BytesStore. |
@NotNull WireOut |
bytes(String type,
@NotNull byte[] fromBytes)
Write a typed byte sequence value.
|
@NotNull WireOut |
bytes(String type,
@Nullable net.openhft.chronicle.bytes.BytesStore fromBytes)
Write a typed bytes sequence value from
BytesStore. |
void |
bytes0(@NotNull net.openhft.chronicle.bytes.BytesStore fromBytes,
long remaining) |
@NotNull WireOut |
bytesLiteral(@Nullable net.openhft.chronicle.bytes.BytesStore fromBytes)
Write a byte sequence value from
BytesStore as a literal, if supported by wire type. |
WireOut |
bytesMarshallable(net.openhft.chronicle.bytes.WriteBytesMarshallable object) |
net.openhft.chronicle.core.pool.ClassLookup |
classLookup() |
int |
compressedSize() |
@NotNull WireOut |
date(@NotNull LocalDate localDate)
Write a date value.
|
@NotNull WireOut |
dateTime(@NotNull LocalDateTime localDateTime)
Write a date time value.
|
@NotNull WireOut |
fixedFloat32(float f)
Write a type-prefixed float value.
|
@NotNull WireOut |
fixedFloat64(double d)
Write a type-prefixed double value.
|
@NotNull WireOut |
fixedInt16(short i16)
Write a type-prefixed signed 16-bit value.
|
@NotNull WireOut |
fixedInt32(int i32)
Write a type-prefixed signed 32-bit value.
|
@NotNull WireOut |
fixedInt64(long i64)
Write a type-prefixed signed 64-bit value.
|
@NotNull WireOut |
fixedInt8(byte i8)
Write a type-prefixed signed 8-bit value.
|
@NotNull WireOut |
fixedOrderedInt32(int i32) |
@NotNull WireOut |
float32(float f)
Write a 32-bit float value.
|
@NotNull WireOut |
float64(double d)
Write a 64-bit float (double) value.
|
@NotNull WireOut |
int128forBinding(long value,
long value2) |
@NotNull WireOut |
int128forBinding(long i64x0,
long i64x1,
net.openhft.chronicle.core.values.TwoLongValue longValue) |
@NotNull WireOut |
int16(short i16)
Write a signed 16-bit integer value.
|
@NotNull WireOut |
int32(int i32)
Write a signed 32-bit integer value.
|
@NotNull WireOut |
int32forBinding(int value) |
@NotNull WireOut |
int32forBinding(int value,
@NotNull net.openhft.chronicle.core.values.IntValue intValue) |
@NotNull WireOut |
int64_0x(long i64)
Write a 64-bit integer as a hex value, if supported by wire type.
|
@NotNull WireOut |
int64(long i64)
Write a signed 64-bit integer value.
|
@NotNull WireOut |
int64array(long capacity) |
@NotNull WireOut |
int64array(long capacity,
@NotNull net.openhft.chronicle.core.values.LongArrayValues values)
Write a 64-bit integer sequence value.
|
@NotNull WireOut |
int64forBinding(long value) |
@NotNull WireOut |
int64forBinding(long value,
@NotNull net.openhft.chronicle.core.values.LongValue longValue) |
@NotNull WireOut |
int8(byte i8)
Write a signed 8-bit integer value.
|
@NotNull WireOut |
map(Map map)
writes the contents of the map to wire
|
@NotNull WireOut |
marshallable(@NotNull Serializable object)
Write a
Serializable value. |
@NotNull WireOut |
marshallable(@NotNull WriteMarshallable object)
Write a
WriteMarshallable value. |
@NotNull WireOut |
nu11()
Write a null value.
|
@NotNull WireOut |
rawBytes(@NotNull byte[] value)
Write a raw bytes sequence value.
|
void |
resetState() |
<T> @NotNull WireOut |
sequence(T t,
@NotNull BiConsumer<T,ValueOut> writer)
Write a sequence value using the provided writer.
|
<T,K> @NotNull WireOut |
sequence(T t,
K kls,
@NotNull TriConsumer<T,K,ValueOut> writer)
Write a sequence value using the provided parametrized writer.
|
@NotNull WireOut |
text(@Nullable net.openhft.chronicle.bytes.BytesStore s)
Write a text value of
BytesStore contents. |
@NotNull WireOut |
text(@Nullable CharSequence s)
Write a text value.
|
@NotNull WireOut |
text(@Nullable String s)
Write a text value.
|
@NotNull WireOut |
time(@NotNull LocalTime localTime)
Write a time value.
|
@NotNull WireOut |
typeLiteral(@NotNull BiConsumer<Class,net.openhft.chronicle.bytes.Bytes<?>> typeTranslator,
@Nullable Class type)
Write a type literal value using the specified type translator.
|
@NotNull WireOut |
typeLiteral(CharSequence typeName)
Write a type literal value.
|
@NotNull WireOut |
typeLiteral(@Nullable Class type)
Write a type literal value of a specified
Class. |
@NotNull ValueOut |
typePrefix(CharSequence typeName)
Write a type prefix for a value.
|
@NotNull WireOut |
uint16checked(int u16)
Write an unsigned 16-bit integer value.
|
@NotNull WireOut |
uint32checked(long u32)
Write an unsigned 32-bit integer value.
|
@NotNull WireOut |
uint8checked(int u8)
Write an unsigned 8-bit integer value.
|
@NotNull WireOut |
utf8(int codepoint)
Write a single Java 16-bit Unicode codepoint.
|
@NotNull WireOut |
uuid(@NotNull UUID uuid)
Write a UUID value.
|
@NotNull WireOut |
wireOut() |
@NotNull ValueOut |
writeLength(long length)
Writes value length if supported by implementation.
|
@NotNull WireOut |
zonedDateTime(@NotNull ZonedDateTime zonedDateTime)
Write a date time value with time zone.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarray, array, array, array, array, array, array, arrayDelta, arrayDelta, asEnum, character, collection, compress, endTypePrefix, float32, float64, int16, int32, int32, int64, int8, isAnEnum, isBinary, list, list, marshallable, marshallable, object, object, optionalTyped, rawText, resetBetweenDocuments, sequence, sequence, sequenceWithLength, set, set, swapLeaf, text, throwable, typedMarshallable, typedMarshallable, typedMarshallable, typedScalar, typeLiteral, typePrefix, uint16, uint32, uint8, untypedObject, writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeInt, writeLong, writeLong, writeShort, writeString@NotNull public @NotNull WireOut bool(@Nullable @Nullable Boolean flag)
ValueOut@NotNull public @NotNull WireOut nu11()
ValueOut@NotNull public @NotNull WireOut text(@Nullable @Nullable CharSequence s)
ValueOut@NotNull public @NotNull WireOut text(@Nullable @Nullable String s)
ValueOutValueOut.text(CharSequence).@NotNull public @NotNull WireOut text(@Nullable @Nullable net.openhft.chronicle.bytes.BytesStore s)
ValueOutBytesStore contents.@NotNull public @NotNull WireOut bytes(@Nullable @Nullable net.openhft.chronicle.bytes.BytesStore fromBytes)
ValueOutBytesStore.@NotNull public @NotNull WireOut bytesLiteral(@Nullable @Nullable net.openhft.chronicle.bytes.BytesStore fromBytes)
ValueOutBytesStore as a literal, if supported by wire type.
Defaults to ValueOut.bytes(BytesStore).bytesLiteral in interface ValueOutpublic int compressedSize()
compressedSize in interface ValueOutpublic void bytes0(@NotNull
@NotNull net.openhft.chronicle.bytes.BytesStore fromBytes,
long remaining)
@NotNull public @NotNull WireOut rawBytes(@NotNull @NotNull byte[] value)
ValueOut@NotNull public @NotNull ValueOut writeLength(long length)
ValueOutwriteLength in interface ValueOut@NotNull public @NotNull WireOut bytes(@NotNull @NotNull byte[] fromBytes)
ValueOut@NotNull public @NotNull WireOut bytes(String type, @Nullable @Nullable net.openhft.chronicle.bytes.BytesStore fromBytes)
ValueOutBytesStore.@NotNull public @NotNull WireOut bytes(String type, @NotNull @NotNull byte[] fromBytes)
ValueOut@NotNull public @NotNull WireOut int8(byte i8)
ValueOut@NotNull public @NotNull WireOut fixedInt8(byte i8)
ValueOut@NotNull public @NotNull WireOut uint8checked(int u8)
ValueOutuint8checked in interface ValueOut@NotNull public @NotNull WireOut int16(short i16)
ValueOut@NotNull public @NotNull WireOut fixedInt16(short i16)
ValueOutfixedInt16 in interface ValueOut@NotNull public @NotNull WireOut uint16checked(int u16)
ValueOutuint16checked in interface ValueOut@NotNull public @NotNull WireOut utf8(int codepoint)
ValueOut@NotNull public @NotNull WireOut int32(int i32)
ValueOut@NotNull public @NotNull WireOut fixedInt32(int i32)
ValueOutfixedInt32 in interface ValueOut@NotNull public @NotNull WireOut fixedOrderedInt32(int i32)
@NotNull public @NotNull WireOut uint32checked(long u32)
ValueOutuint32checked in interface ValueOut@NotNull public @NotNull WireOut int64(long i64)
ValueOut@NotNull public @NotNull WireOut fixedInt64(long i64)
ValueOutfixedInt64 in interface ValueOut@NotNull public @NotNull WireOut int64_0x(long i64)
ValueOut@NotNull public @NotNull WireOut int64array(long capacity)
int64array in interface ValueOut@NotNull public @NotNull WireOut int128forBinding(long value, long value2)
int128forBinding in interface ValueOut@NotNull public @NotNull WireOut int64array(long capacity, @NotNull @NotNull net.openhft.chronicle.core.values.LongArrayValues values)
ValueOutint64array in interface ValueOut@NotNull public @NotNull WireOut float32(float f)
ValueOut@NotNull public @NotNull WireOut fixedFloat32(float f)
ValueOutfixedFloat32 in interface ValueOut@NotNull public @NotNull WireOut float64(double d)
ValueOut@NotNull public @NotNull WireOut fixedFloat64(double d)
ValueOutfixedFloat64 in interface ValueOut@NotNull public @NotNull WireOut time(@NotNull @NotNull LocalTime localTime)
ValueOut@NotNull public @NotNull WireOut zonedDateTime(@NotNull @NotNull ZonedDateTime zonedDateTime)
ValueOutzonedDateTime in interface ValueOut@NotNull public @NotNull WireOut date(@NotNull @NotNull LocalDate localDate)
ValueOut@NotNull public @NotNull WireOut dateTime(@NotNull @NotNull LocalDateTime localDateTime)
ValueOut@NotNull public @NotNull ValueOut typePrefix(CharSequence typeName)
ValueOuttypePrefix in interface ValueOutpublic net.openhft.chronicle.core.pool.ClassLookup classLookup()
classLookup in interface ValueOut@NotNull public @NotNull WireOut typeLiteral(CharSequence typeName)
ValueOuttypeLiteral in interface ValueOut@NotNull public @NotNull WireOut typeLiteral(@Nullable @Nullable Class type)
ValueOutClass.typeLiteral in interface ValueOut@NotNull public @NotNull WireOut typeLiteral(@NotNull @NotNull BiConsumer<Class,net.openhft.chronicle.bytes.Bytes<?>> typeTranslator, @Nullable @Nullable Class type)
ValueOuttypeLiteral in interface ValueOut@NotNull public @NotNull WireOut uuid(@NotNull @NotNull UUID uuid)
ValueOut@NotNull public @NotNull WireOut int32forBinding(int value)
int32forBinding in interface ValueOut@NotNull public @NotNull WireOut int64forBinding(long value)
int64forBinding in interface ValueOut@NotNull public @NotNull WireOut int32forBinding(int value, @NotNull @NotNull net.openhft.chronicle.core.values.IntValue intValue)
int32forBinding in interface ValueOut@NotNull public @NotNull WireOut int64forBinding(long value, @NotNull @NotNull net.openhft.chronicle.core.values.LongValue longValue)
int64forBinding in interface ValueOut@NotNull public @NotNull WireOut boolForBinding(boolean value, @NotNull @NotNull net.openhft.chronicle.core.values.BooleanValue booleanValue)
boolForBinding in interface ValueOut@NotNull public @NotNull WireOut int128forBinding(long i64x0, long i64x1, net.openhft.chronicle.core.values.TwoLongValue longValue)
int128forBinding in interface ValueOut@NotNull public <T> @NotNull WireOut sequence(T t, @NotNull @NotNull BiConsumer<T,ValueOut> writer)
ValueOut@NotNull public <T,K> @NotNull WireOut sequence(T t, K kls, @NotNull @NotNull TriConsumer<T,K,ValueOut> writer) throws net.openhft.chronicle.core.io.InvalidMarshallableException
ValueOut@NotNull public @NotNull WireOut marshallable(@NotNull @NotNull WriteMarshallable object) throws net.openhft.chronicle.core.io.InvalidMarshallableException
ValueOutWriteMarshallable value.marshallable in interface ValueOutnet.openhft.chronicle.core.io.InvalidMarshallableExceptionpublic WireOut bytesMarshallable(net.openhft.chronicle.bytes.WriteBytesMarshallable object) throws net.openhft.chronicle.core.io.InvalidMarshallableException
bytesMarshallable in interface ValueOutnet.openhft.chronicle.core.io.InvalidMarshallableException@NotNull public @NotNull WireOut marshallable(@NotNull @NotNull Serializable object) throws net.openhft.chronicle.core.io.InvalidMarshallableException
ValueOutSerializable value.marshallable in interface ValueOutnet.openhft.chronicle.core.io.InvalidMarshallableException@NotNull public @NotNull WireOut map(Map map) throws net.openhft.chronicle.core.io.InvalidMarshallableException
ValueOutmap in interface ValueOutmap - a java map with, the key and value type of the map must be either Marshallable,
String or Autoboxed primitives.net.openhft.chronicle.core.io.InvalidMarshallableExceptionpublic void resetState()
resetState in interface ValueOutCopyright © 2023. All rights reserved.