C# Class Whalin.Caching.Memcached.NativeHandler

Exibir arquivo Open project: xianrendzw/LightFramework.Net

Public Methods

Method Description
Decode ( byte bytes ) : Object
DecodeBool ( byte bytes ) : bool
DecodeByte ( byte bytes ) : byte
DecodeCharacter ( byte bytes ) : char
DecodeDate ( byte bytes ) : System.DateTime
DecodeDouble ( byte bytes ) : double
DecodeFloat ( byte bytes ) : float
DecodeInteger ( byte bytes ) : Int32
DecodeLong ( byte bytes ) : long
DecodeShort ( byte bytes ) : short
DecodeString ( byte bytes ) : string
DecodeStringBuilder ( byte bytes ) : StringBuilder
Encode ( System.DateTime value ) : byte[]
Encode ( StringBuilder value ) : byte[]
Encode ( bool value ) : byte[]
Encode ( byte value ) : byte[]
Encode ( char value ) : byte[]
Encode ( double value ) : byte[]
Encode ( float value ) : byte[]
Encode ( int value ) : byte[]
Encode ( long value ) : byte[]
Encode ( object value ) : byte[]
Encode ( short value ) : byte[]
Encode ( string value ) : byte[]
GetBytes ( int value ) : byte[]
GetBytes ( long value ) : byte[]
IsHandled ( object value ) : bool
ToInt ( byte bytes ) : int
ToLong ( byte bytes ) : long

Private Methods

Method Description
GetLocalizedString ( string key ) : string
NativeHandler ( ) : System

Method Details

Decode() public static method

public static Decode ( byte bytes ) : Object
bytes byte
return Object

DecodeBool() public static method

public static DecodeBool ( byte bytes ) : bool
bytes byte
return bool

DecodeByte() public static method

public static DecodeByte ( byte bytes ) : byte
bytes byte
return byte

DecodeCharacter() public static method

public static DecodeCharacter ( byte bytes ) : char
bytes byte
return char

DecodeDate() public static method

public static DecodeDate ( byte bytes ) : System.DateTime
bytes byte
return System.DateTime

DecodeDouble() public static method

public static DecodeDouble ( byte bytes ) : double
bytes byte
return double

DecodeFloat() public static method

public static DecodeFloat ( byte bytes ) : float
bytes byte
return float

DecodeInteger() public static method

public static DecodeInteger ( byte bytes ) : Int32
bytes byte
return System.Int32

DecodeLong() public static method

public static DecodeLong ( byte bytes ) : long
bytes byte
return long

DecodeShort() public static method

public static DecodeShort ( byte bytes ) : short
bytes byte
return short

DecodeString() public static method

public static DecodeString ( byte bytes ) : string
bytes byte
return string

DecodeStringBuilder() public static method

public static DecodeStringBuilder ( byte bytes ) : StringBuilder
bytes byte
return StringBuilder

Encode() public static method

public static Encode ( System.DateTime value ) : byte[]
value System.DateTime
return byte[]

Encode() public static method

public static Encode ( StringBuilder value ) : byte[]
value StringBuilder
return byte[]

Encode() public static method

public static Encode ( bool value ) : byte[]
value bool
return byte[]

Encode() public static method

public static Encode ( byte value ) : byte[]
value byte
return byte[]

Encode() public static method

public static Encode ( char value ) : byte[]
value char
return byte[]

Encode() public static method

public static Encode ( double value ) : byte[]
value double
return byte[]

Encode() public static method

public static Encode ( float value ) : byte[]
value float
return byte[]

Encode() public static method

public static Encode ( int value ) : byte[]
value int
return byte[]

Encode() public static method

public static Encode ( long value ) : byte[]
value long
return byte[]

Encode() public static method

public static Encode ( object value ) : byte[]
value object
return byte[]

Encode() public static method

public static Encode ( short value ) : byte[]
value short
return byte[]

Encode() public static method

public static Encode ( string value ) : byte[]
value string
return byte[]

GetBytes() public static method

public static GetBytes ( int value ) : byte[]
value int
return byte[]

GetBytes() public static method

public static GetBytes ( long value ) : byte[]
value long
return byte[]

IsHandled() public static method

public static IsHandled ( object value ) : bool
value object
return bool

ToInt() public static method

public static ToInt ( byte bytes ) : int
bytes byte
return int

ToLong() public static method

public static ToLong ( byte bytes ) : long
bytes byte
return long