public interface BytesMarshallable extends ReadBytesMarshallable, WriteBytesMarshallable
Modifier and Type | Method and Description |
---|---|
default String |
$toString() |
default void |
readMarshallable(BytesIn bytes)
Bytes to read.
|
default boolean |
usesSelfDescribingMessage() |
default void |
writeMarshallable(BytesOut bytes)
Write to Bytes.
|
default boolean usesSelfDescribingMessage()
usesSelfDescribingMessage
in interface CommonMarshallable
default void readMarshallable(BytesIn bytes) throws net.openhft.chronicle.core.io.IORuntimeException, BufferUnderflowException, IllegalStateException
ReadBytesMarshallable
readMarshallable
in interface ReadBytesMarshallable
bytes
- to read.net.openhft.chronicle.core.io.IORuntimeException
BufferUnderflowException
IllegalStateException
default void writeMarshallable(BytesOut bytes) throws IllegalStateException, BufferOverflowException, BufferUnderflowException, ArithmeticException
WriteBytesMarshallable
writeMarshallable
in interface WriteBytesMarshallable
bytes
- to write to.IllegalStateException
BufferOverflowException
BufferUnderflowException
ArithmeticException
default String $toString()
Copyright © 2021. All rights reserved.