Uses of Interface
org.infinispan.commons.io.ByteBuffer
Package
Description
Commons IO package
Provides Infinispan-specific input and output streams, buffers and related utilities.
-
Uses of ByteBuffer in org.infinispan.commons.io
Modifier and TypeClassDescriptionclass
A byte buffer that exposes the internal byte array with minimal copyingModifier and TypeMethodDescriptionByteBuffer.copy()
Returns a new byte[] instance of sizegetLength()
that contains all the bytes owned by this buffer.ByteBufferFactory.newByteBuffer
(byte[] b) ByteBufferFactory.newByteBuffer
(byte[] b, int offset, int length) ByteBufferFactoryImpl.newByteBuffer
(byte[] b) ByteBufferFactoryImpl.newByteBuffer
(byte[] b, int offset, int length) -
Uses of ByteBuffer in org.infinispan.commons.marshall
Modifier and TypeMethodDescriptionAbstractMarshaller.objectToBuffer
(Object obj) protected abstract ByteBuffer
AbstractMarshaller.objectToBuffer
(Object o, int estimatedSize) This is a convenience method for converting an object into aByteBuffer
which takes an estimated size as parameter.protected ByteBuffer
IdentityMarshaller.objectToBuffer
(Object o, int estimatedSize) protected ByteBuffer
ImmutableProtoStreamMarshaller.objectToBuffer
(Object o, int estimatedSize) protected ByteBuffer
JavaSerializationMarshaller.objectToBuffer
(Object o, int estimatedSize) Marshaller.objectToBuffer
(Object o) A method that returns an instance ofByteBuffer
, which allows direct access to the byte array with minimal array copyingprotected ByteBuffer
StringMarshaller.objectToBuffer
(Object o, int estimatedSize)