JBoss Data Grid HotRod C# Client  7.2.0
Public Member Functions | List of all members
Infinispan.HotRod.CompatibilityMarshaller Class Reference
Inheritance diagram for Infinispan.HotRod.CompatibilityMarshaller:
Infinispan.HotRod.IMarshaller

Public Member Functions

bool IsMarshallable (object o)
 
object ObjectFromByteBuffer (byte[] buf)
 Unmarshalls an object from a byte array. More...
 
object ObjectFromByteBuffer (byte[] buf, int offset, int length)
 Unmarshalls an object from a specific portion of a byte array. More...
 
byte[] ObjectToByteBuffer (object obj)
 
byte[] ObjectToByteBuffer (object obj, int estimatedSize)
 
- Public Member Functions inherited from Infinispan.HotRod.IMarshaller
byte[] ObjectToByteBuffer (Object obj, int estimatedSize)
 Marshalls an object to a byte array. The estimatedSize parameter is a hint that can be passed in to allow for efficient sizing of the byte array before attempting to marshall the object. The more accurate this estimate is, the less likely byte[]s will need to be resized to hold the byte stream generated by marshalling the object. More...
 
byte[] ObjectToByteBuffer (Object obj)
 Marshalls an object to a byte array. More...
 
bool IsMarshallable (Object o)
 A method that checks whether the given object is marshallable as per the rules of this marshaller. More...
 

Member Function Documentation

bool Infinispan.HotRod.CompatibilityMarshaller.IsMarshallable ( object  o)
inline
object Infinispan.HotRod.CompatibilityMarshaller.ObjectFromByteBuffer ( byte[]  buf)
inline

Unmarshalls an object from a byte array.

Parameters
bufbyte array containing the binary representation of an object. Must not be null.
Returns
an object

Implements Infinispan.HotRod.IMarshaller.

object Infinispan.HotRod.CompatibilityMarshaller.ObjectFromByteBuffer ( byte[]  buf,
int  offset,
int  length 
)
inline

Unmarshalls an object from a specific portion of a byte array.

Parameters
bufbyte array containing the binary representation of an object. Must not be null.
offsetpoint in buffer to start reading
lengthnumber of bytes to consider
Returns
an object

Implements Infinispan.HotRod.IMarshaller.

byte [] Infinispan.HotRod.CompatibilityMarshaller.ObjectToByteBuffer ( object  obj)
inline
byte [] Infinispan.HotRod.CompatibilityMarshaller.ObjectToByteBuffer ( object  obj,
int  estimatedSize 
)
inline

The documentation for this class was generated from the following file: