C# Class Cauterize.PrimitiveSupport

Afficher le fichier Open project: sw17ch/Z-ARCHIVED-legacy-cauterize Class Usage Examples

Méthodes publiques

Méthode Description
BytesFromValue ( object value ) : byte[]
IntToType ( Type t, int value ) : object
TypeFromBytes ( Type t, byte bytes ) : object
TypeToByteSize ( Type t ) : int
TypeToInt ( object value ) : int

Method Details

BytesFromValue() public static méthode

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

IntToType() public static méthode

public static IntToType ( Type t, int value ) : object
t System.Type
value int
Résultat object

TypeFromBytes() public static méthode

public static TypeFromBytes ( Type t, byte bytes ) : object
t System.Type
bytes byte
Résultat object

TypeToByteSize() public static méthode

public static TypeToByteSize ( Type t ) : int
t System.Type
Résultat int

TypeToInt() public static méthode

public static TypeToInt ( object value ) : int
value object
Résultat int