public interface ByteBufferMarshaller extends Marshaller<Object,ByteBuffer>
ByteBuffer.| Modifier and Type | Field and Description |
|---|---|
static org.jboss.logging.Logger |
LOGGER |
| Modifier and Type | Method and Description |
|---|---|
default Object |
read(ByteBuffer buffer)
Reads a value from its marshalled form.
|
Object |
readFrom(InputStream input) |
default OptionalInt |
size(Object object) |
default ByteBuffer |
write(Object object)
Writes a value to its serialized form
|
void |
writeTo(OutputStream output,
Object object) |
isMarshallableObject readFrom(InputStream input) throws IOException
IOExceptionvoid writeTo(OutputStream output, Object object) throws IOException
IOExceptiondefault Object read(ByteBuffer buffer) throws IOException
Marshallerread in interface Marshaller<Object,ByteBuffer>buffer - the marshalled formIOExceptiondefault ByteBuffer write(Object object) throws IOException
Marshallerwrite in interface Marshaller<Object,ByteBuffer>IOExceptiondefault OptionalInt size(Object object)
Copyright © 2021 JBoss by Red Hat. All rights reserved.