C# Class Infinispan.HotRod.Tests.JBasicMarshaller

Inheritance: IMarshaller
Exibir arquivo Open project: infinispan/dotnet-client

Public Methods

Method Description
IsMarshallable ( object o ) : bool
ObjectFromByteBuffer ( byte buf ) : object
ObjectFromByteBuffer ( byte buf, int offset, int length ) : object
ObjectFromByteBufferHelper ( byte buf ) : object
ObjectToByteBuffer ( object obj ) : byte[]
ObjectToByteBuffer ( object obj, int estimatedSize ) : byte[]
ObjectToByteBufferHelper ( object obj ) : byte[]

Private Methods

Method Description
IntToByteBuffer ( int num ) : byte[]
LongToByteBuffer ( long num ) : byte[]
StringToByteBuffer ( string s ) : byte[]
marshallEmpty ( ) : byte[]
marshallMedium ( string s ) : byte[]
marshallSmall ( string s ) : byte[]

Method Details

IsMarshallable() public method

public IsMarshallable ( object o ) : bool
o object
return bool

ObjectFromByteBuffer() public method

public ObjectFromByteBuffer ( byte buf ) : object
buf byte
return object

ObjectFromByteBuffer() public method

public ObjectFromByteBuffer ( byte buf, int offset, int length ) : object
buf byte
offset int
length int
return object

ObjectFromByteBufferHelper() static public method

static public ObjectFromByteBufferHelper ( byte buf ) : object
buf byte
return object

ObjectToByteBuffer() public method

public ObjectToByteBuffer ( object obj ) : byte[]
obj object
return byte[]

ObjectToByteBuffer() public method

public ObjectToByteBuffer ( object obj, int estimatedSize ) : byte[]
obj object
estimatedSize int
return byte[]

ObjectToByteBufferHelper() static public method

static public ObjectToByteBufferHelper ( object obj ) : byte[]
obj object
return byte[]