C# Class XLibrary.Remote.CompactNum

Afficher le fichier Open project: swax/CodePerspective

Méthodes publiques

Méthode Description
GetBytes ( byte num ) : byte[]
GetBytes ( int num ) : byte[]
GetBytes ( long num ) : byte[]
GetBytes ( sbyte num ) : byte[]
GetBytes ( short num ) : byte[]
GetBytes ( uint num ) : byte[]
GetBytes ( ulong num ) : byte[]
GetBytes ( ushort num ) : byte[]
ToInt16 ( byte data, int pos, int size ) : short
ToInt32 ( byte data, int pos, int size ) : int
ToInt64 ( byte data, int pos, int size ) : long
ToInt8 ( byte data, int pos, int size ) : sbyte
ToUInt16 ( byte data, int pos, int size ) : ushort
ToUInt32 ( byte data, int pos, int size ) : uint
ToUInt64 ( byte data, int pos, int size ) : ulong
ToUInt8 ( byte data, int pos, int size ) : byte

Method Details

GetBytes() public static méthode

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

GetBytes() public static méthode

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

GetBytes() public static méthode

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

GetBytes() public static méthode

public static GetBytes ( sbyte num ) : byte[]
num sbyte
Résultat byte[]

GetBytes() public static méthode

public static GetBytes ( short num ) : byte[]
num short
Résultat byte[]

GetBytes() public static méthode

public static GetBytes ( uint num ) : byte[]
num uint
Résultat byte[]

GetBytes() public static méthode

public static GetBytes ( ulong num ) : byte[]
num ulong
Résultat byte[]

GetBytes() public static méthode

public static GetBytes ( ushort num ) : byte[]
num ushort
Résultat byte[]

ToInt16() public static méthode

public static ToInt16 ( byte data, int pos, int size ) : short
data byte
pos int
size int
Résultat short

ToInt32() public static méthode

public static ToInt32 ( byte data, int pos, int size ) : int
data byte
pos int
size int
Résultat int

ToInt64() public static méthode

public static ToInt64 ( byte data, int pos, int size ) : long
data byte
pos int
size int
Résultat long

ToInt8() public static méthode

public static ToInt8 ( byte data, int pos, int size ) : sbyte
data byte
pos int
size int
Résultat sbyte

ToUInt16() public static méthode

public static ToUInt16 ( byte data, int pos, int size ) : ushort
data byte
pos int
size int
Résultat ushort

ToUInt32() public static méthode

public static ToUInt32 ( byte data, int pos, int size ) : uint
data byte
pos int
size int
Résultat uint

ToUInt64() public static méthode

public static ToUInt64 ( byte data, int pos, int size ) : ulong
data byte
pos int
size int
Résultat ulong

ToUInt8() public static méthode

public static ToUInt8 ( byte data, int pos, int size ) : byte
data byte
pos int
size int
Résultat byte