C# Class Enyim.Caching.Memcached.Protocol.Binary.BinaryConverter

Afficher le fichier Open project: couchbaselabs/EnyimMemcached Class Usage Examples

Méthodes publiques

Méthode Description
DecodeInt32 ( ArraySegment segment, int offset ) : int
DecodeInt32 ( byte buffer, int offset ) : int
DecodeKey ( byte data ) : string
DecodeKey ( byte data, int index, int count ) : string
DecodeUInt16 ( byte buffer, int offset ) : ushort
DecodeUInt64 ( byte buffer, int offset ) : ulong
EncodeKey ( string key ) : byte[]
EncodeUInt16 ( uint value, byte buffer, int offset ) : void
EncodeUInt32 ( uint value, byte buffer, int offset ) : void
EncodeUInt64 ( ulong value, byte buffer, int offset ) : void

Method Details

DecodeInt32() public static méthode

public static DecodeInt32 ( ArraySegment segment, int offset ) : int
segment ArraySegment
offset int
Résultat int

DecodeInt32() public static méthode

public static DecodeInt32 ( byte buffer, int offset ) : int
buffer byte
offset int
Résultat int

DecodeKey() public static méthode

public static DecodeKey ( byte data ) : string
data byte
Résultat string

DecodeKey() public static méthode

public static DecodeKey ( byte data, int index, int count ) : string
data byte
index int
count int
Résultat string

DecodeUInt16() public static méthode

public static DecodeUInt16 ( byte buffer, int offset ) : ushort
buffer byte
offset int
Résultat ushort

DecodeUInt64() public static méthode

public static DecodeUInt64 ( byte buffer, int offset ) : ulong
buffer byte
offset int
Résultat ulong

EncodeKey() public static méthode

public static EncodeKey ( string key ) : byte[]
key string
Résultat byte[]

EncodeUInt16() public static méthode

public static EncodeUInt16 ( uint value, byte buffer, int offset ) : void
value uint
buffer byte
offset int
Résultat void

EncodeUInt32() public static méthode

public static EncodeUInt32 ( uint value, byte buffer, int offset ) : void
value uint
buffer byte
offset int
Résultat void

EncodeUInt64() public static méthode

public static EncodeUInt64 ( ulong value, byte buffer, int offset ) : void
value ulong
buffer byte
offset int
Résultat void