C# Class Infinispan.HotRod.Tests.JBasicMarshaller

Inheritance: IMarshaller
Afficher le fichier Open project: infinispan/dotnet-client

Méthodes publiques

Méthode 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

Méthode 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 méthode

public IsMarshallable ( object o ) : bool
o object
Résultat bool

ObjectFromByteBuffer() public méthode

public ObjectFromByteBuffer ( byte buf ) : object
buf byte
Résultat object

ObjectFromByteBuffer() public méthode

public ObjectFromByteBuffer ( byte buf, int offset, int length ) : object
buf byte
offset int
length int
Résultat object

ObjectFromByteBufferHelper() static public méthode

static public ObjectFromByteBufferHelper ( byte buf ) : object
buf byte
Résultat object

ObjectToByteBuffer() public méthode

public ObjectToByteBuffer ( object obj ) : byte[]
obj object
Résultat byte[]

ObjectToByteBuffer() public méthode

public ObjectToByteBuffer ( object obj, int estimatedSize ) : byte[]
obj object
estimatedSize int
Résultat byte[]

ObjectToByteBufferHelper() static public méthode

static public ObjectToByteBufferHelper ( object obj ) : byte[]
obj object
Résultat byte[]