U - underlying store typepublic interface BytesOut<U> extends StreamingDataOutput<Bytes<U>>, ByteStringAppender<Bytes<U>>, BytesPrepender<Bytes<U>>, HexDumpBytesDescription<BytesOut<U>>
Bytes buffer. It combines streaming
writes with text appending and prepending utilities.JAVA9_STRING_CODER_LATIN, JAVA9_STRING_CODER_UTF16| Modifier and Type | Method and Description |
|---|---|
default <T> T |
bytesMethodWriter(@NotNull Class<T> tClass,
Class<?>... additional)
Returns a proxy that serialises method calls to this output.
|
void |
writeMarshallableLength16(WriteBytesMarshallable marshallable)
Serialises
marshallable prefixed with a 16-bit length. |
default void |
writeObject(Class<?> componentType,
Object obj)
Writes
obj according to componentType. |
append, append, append, append, append, append, append, append, append, append, append8bit, append8bit, append8bit, append8bit, append8bit, appendBase, appendBase16, appendBase16, appendDateMillis, appendDecimal, appendTimeMillis, decimaliser, decimaliser, fpAppend0, fpAppend0, writerappendUtf8, appendUtf8, appendUtf8, appendUtf8, appendUtf8, appendUtf8, canWriteDirect, copyFrom, ensureCapacity, outputStream, rawWriteByte, rawWriteInt, rawWriteLong, realCapacity, unsafeWrite, unsafeWriteObject, write, write, write, write, write, write, write8bit, write8bit, write8bit, write8bit, writeBigDecimal, writeBigInteger, writeBoolean, writeByte, writeChar, writeDouble, writeDoubleAndInt, writeEnum, writeFloat, writeHistogram, writeInt, writeInt24, writeIntAdv, writeLimit, writeLong, writeLongAdv, writeOrderedInt, writeOrderedLong, writePosition, writePositionForHeader, writePositionRemaining, writeShort, writeSkip, writeSome, writeStopBit, writeStopBit, writeStopBit, writeStopBitDecimal, writeUnsignedByte, writeUnsignedInt, writeUnsignedInt24, writeUnsignedShort, writeUtf8, writeUtf8, writeWithLength, writeWithLengthclearaddressForRead, addressForRead, addressForWrite, addressForWritePosition, byteOrder, bytesForRead, bytesForWrite, capacity, isDirectMemory, lengthWritten, readLimit, readPosition, readRemaining, realReadRemaining, realWriteRemaining, sharedMemory, start, writeLimit, writePosition, writeRemainingaddReferenceChangeListener, refCount, release, releaseLast, releaseLast, removeReferenceChangeListener, reserve, reserveTransfer, tryReservereferenceId, referenceName, temporaryclearAndPad, prepend, prewrite, prewrite, prewriteByte, prewriteInt, prewriteLong, prewriteShortadjustHexDumpIndentation, retainedHexDumpDescription, writeHexDumpDescription@NotNull
default <T> T bytesMethodWriter(@NotNull
@NotNull Class<T> tClass,
Class<?>... additional)
throws IllegalArgumentException,
net.openhft.chronicle.core.io.ClosedIllegalStateException
IllegalArgumentExceptionnet.openhft.chronicle.core.io.ClosedIllegalStateExceptionvoid writeMarshallableLength16(WriteBytesMarshallable marshallable) throws IllegalArgumentException, BufferOverflowException, BufferUnderflowException, net.openhft.chronicle.core.io.InvalidMarshallableException, net.openhft.chronicle.core.io.ClosedIllegalStateException, net.openhft.chronicle.core.io.ThreadingIllegalStateException
marshallable prefixed with a 16-bit length.IllegalArgumentExceptionBufferOverflowExceptionBufferUnderflowExceptionnet.openhft.chronicle.core.io.InvalidMarshallableExceptionnet.openhft.chronicle.core.io.ClosedIllegalStateExceptionnet.openhft.chronicle.core.io.ThreadingIllegalStateExceptiondefault void writeObject(Class<?> componentType, Object obj) throws IllegalArgumentException, BufferOverflowException, ArithmeticException, net.openhft.chronicle.core.io.ClosedIllegalStateException, BufferUnderflowException, net.openhft.chronicle.core.io.InvalidMarshallableException, net.openhft.chronicle.core.io.ThreadingIllegalStateException
obj according to componentType. Supported types
include String, boxed primitives, BytesStore and
BytesMarshallable implementations.IllegalArgumentExceptionBufferOverflowExceptionArithmeticExceptionnet.openhft.chronicle.core.io.ClosedIllegalStateExceptionBufferUnderflowExceptionnet.openhft.chronicle.core.io.InvalidMarshallableExceptionnet.openhft.chronicle.core.io.ThreadingIllegalStateExceptionCopyright © 2026 Chronicle Software Ltd. All rights reserved.