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

Mostrar archivo Open project: couchbaselabs/EnyimMemcached Class Usage Examples

Public Methods

Method 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 method

public static DecodeInt32 ( ArraySegment segment, int offset ) : int
segment ArraySegment
offset int
return int

DecodeInt32() public static method

public static DecodeInt32 ( byte buffer, int offset ) : int
buffer byte
offset int
return int

DecodeKey() public static method

public static DecodeKey ( byte data ) : string
data byte
return string

DecodeKey() public static method

public static DecodeKey ( byte data, int index, int count ) : string
data byte
index int
count int
return string

DecodeUInt16() public static method

public static DecodeUInt16 ( byte buffer, int offset ) : ushort
buffer byte
offset int
return ushort

DecodeUInt64() public static method

public static DecodeUInt64 ( byte buffer, int offset ) : ulong
buffer byte
offset int
return ulong

EncodeKey() public static method

public static EncodeKey ( string key ) : byte[]
key string
return byte[]

EncodeUInt16() public static method

public static EncodeUInt16 ( uint value, byte buffer, int offset ) : void
value uint
buffer byte
offset int
return void

EncodeUInt32() public static method

public static EncodeUInt32 ( uint value, byte buffer, int offset ) : void
value uint
buffer byte
offset int
return void

EncodeUInt64() public static method

public static EncodeUInt64 ( ulong value, byte buffer, int offset ) : void
value ulong
buffer byte
offset int
return void