C# Class Infinispan.HotRod.Tests.BasicTypesProtoStreamMarshaller

Inheritance: IMarshaller
Datei anzeigen 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
ObjectToByteBuffer ( object obj ) : byte[]
ObjectToByteBuffer ( object obj, int estimatedSize ) : byte[]

Private Methods

Method Description
IntToByteBuffer ( int i ) : byte[]
ObjectToByteBuffer ( int descriptorId, object obj ) : byte[]
StringToByteBuffer ( string str ) : 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

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[]