C# Class Whalin.Caching.Memcached.NativeHandler

Afficher le fichier Open project: xianrendzw/LightFramework.Net

Méthodes publiques

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

Méthode Description
GetLocalizedString ( string key ) : string
NativeHandler ( ) : System

Method Details

Decode() public static méthode

public static Decode ( byte bytes ) : Object
bytes byte
Résultat Object

DecodeBool() public static méthode

public static DecodeBool ( byte bytes ) : bool
bytes byte
Résultat bool

DecodeByte() public static méthode

public static DecodeByte ( byte bytes ) : byte
bytes byte
Résultat byte

DecodeCharacter() public static méthode

public static DecodeCharacter ( byte bytes ) : char
bytes byte
Résultat char

DecodeDate() public static méthode

public static DecodeDate ( byte bytes ) : System.DateTime
bytes byte
Résultat System.DateTime

DecodeDouble() public static méthode

public static DecodeDouble ( byte bytes ) : double
bytes byte
Résultat double

DecodeFloat() public static méthode

public static DecodeFloat ( byte bytes ) : float
bytes byte
Résultat float

DecodeInteger() public static méthode

public static DecodeInteger ( byte bytes ) : Int32
bytes byte
Résultat System.Int32

DecodeLong() public static méthode

public static DecodeLong ( byte bytes ) : long
bytes byte
Résultat long

DecodeShort() public static méthode

public static DecodeShort ( byte bytes ) : short
bytes byte
Résultat short

DecodeString() public static méthode

public static DecodeString ( byte bytes ) : string
bytes byte
Résultat string

DecodeStringBuilder() public static méthode

public static DecodeStringBuilder ( byte bytes ) : StringBuilder
bytes byte
Résultat StringBuilder

Encode() public static méthode

public static Encode ( System.DateTime value ) : byte[]
value System.DateTime
Résultat byte[]

Encode() public static méthode

public static Encode ( StringBuilder value ) : byte[]
value StringBuilder
Résultat byte[]

Encode() public static méthode

public static Encode ( bool value ) : byte[]
value bool
Résultat byte[]

Encode() public static méthode

public static Encode ( byte value ) : byte[]
value byte
Résultat byte[]

Encode() public static méthode

public static Encode ( char value ) : byte[]
value char
Résultat byte[]

Encode() public static méthode

public static Encode ( double value ) : byte[]
value double
Résultat byte[]

Encode() public static méthode

public static Encode ( float value ) : byte[]
value float
Résultat byte[]

Encode() public static méthode

public static Encode ( int value ) : byte[]
value int
Résultat byte[]

Encode() public static méthode

public static Encode ( long value ) : byte[]
value long
Résultat byte[]

Encode() public static méthode

public static Encode ( object value ) : byte[]
value object
Résultat byte[]

Encode() public static méthode

public static Encode ( short value ) : byte[]
value short
Résultat byte[]

Encode() public static méthode

public static Encode ( string value ) : byte[]
value string
Résultat byte[]

GetBytes() public static méthode

public static GetBytes ( int value ) : byte[]
value int
Résultat byte[]

GetBytes() public static méthode

public static GetBytes ( long value ) : byte[]
value long
Résultat byte[]

IsHandled() public static méthode

public static IsHandled ( object value ) : bool
value object
Résultat bool

ToInt() public static méthode

public static ToInt ( byte bytes ) : int
bytes byte
Résultat int

ToLong() public static méthode

public static ToLong ( byte bytes ) : long
bytes byte
Résultat long