public abstract class SelfDescribingTriviallyCopyable extends SelfDescribingMarshallable
SelfDescribingMarshallable.
The class provides mechanisms to efficiently manage the internal data layout of an instance based on various data types
such as longs, ints, shorts, and bytes. The layout is determined using a description integer.EMPTYDISCARD| Constructor and Description |
|---|
SelfDescribingTriviallyCopyable() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
$description()
Fetches the description of the current data layout.
|
protected abstract int |
$length()
Fetches the total length of the data based on its layout.
|
protected abstract int |
$start()
Determines the starting offset for the data.
|
boolean |
equals(Object o) |
int |
hashCode() |
void |
readMarshallable(net.openhft.chronicle.bytes.BytesIn<?> bytes) |
String |
toString() |
void |
writeMarshallable(net.openhft.chronicle.bytes.BytesOut<?> bytes) |
usesSelfDescribingMessageclone, finalize, getClass, notify, notifyAll, wait, wait, wait$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyTo, deepCopy, fromFile, fromFile, fromString, fromString, fromString, getField, getLongField, mergeToMap, readMarshallable, reset, setField, setLongField, streamFromFile, streamFromFile, writeMarshallablebinaryLengthLength, writeValueunexpectedFieldprotected abstract int $description()
protected abstract int $start()
protected abstract int $length()
public void readMarshallable(net.openhft.chronicle.bytes.BytesIn<?> bytes)
throws net.openhft.chronicle.core.io.IORuntimeException,
BufferUnderflowException,
IllegalStateException
net.openhft.chronicle.core.io.IORuntimeExceptionBufferUnderflowExceptionIllegalStateExceptionpublic void writeMarshallable(net.openhft.chronicle.bytes.BytesOut<?> bytes)
throws IllegalStateException,
BufferOverflowException,
BufferUnderflowException,
ArithmeticException
Copyright © 2024. All rights reserved.