public interface ClusterSerializable
extends io.vertx.core.shareddata.impl.ClusterSerializable
Modifier and Type | Method and Description |
---|---|
int |
readFromBuffer(int pos,
Buffer buffer)
Method invoked when deserializing bytes to this instance.
|
void |
writeToBuffer(Buffer buffer)
Method invoked when serializing this instance.
|
void writeToBuffer(Buffer buffer)
writeToBuffer
in interface io.vertx.core.shareddata.impl.ClusterSerializable
buffer
- the Buffer
where the serialized bytes must be written toint readFromBuffer(int pos, Buffer buffer)
readFromBuffer
in interface io.vertx.core.shareddata.impl.ClusterSerializable
pos
- the position where to start reading the buffer
buffer
- the Buffer
where the serialized bytes must be read fromCopyright © 2024 Eclipse. All rights reserved.