C# Class MemcachedClientLibrary.Serializer

Afficher le fichier Open project: noear/Weed3

Méthodes publiques

Méthode Description
DeSerialize ( byte bytes, SerializedType type ) : object
Serialize ( object value, SerializedType &type, uint compressionThreshold ) : byte[]

Private Methods

Méthode Description
compress ( byte bytes ) : byte[]
decompress ( byte bytes ) : byte[]

Method Details

DeSerialize() public static méthode

public static DeSerialize ( byte bytes, SerializedType type ) : object
bytes byte
type SerializedType
Résultat object

Serialize() public static méthode

public static Serialize ( object value, SerializedType &type, uint compressionThreshold ) : byte[]
value object
type SerializedType
compressionThreshold uint
Résultat byte[]