C# Class cyberh0me.Utilities.ByteExtensions

Afficher le fichier Open project: cyberh0me/OTP

Méthodes publiques

Méthode Description
Equal ( this b1, byte b2 ) : bool
Equal ( this b1, byte b2, int start ) : bool
Reverse ( this source ) : byte[]
ToHex ( this data, int offset, int count ) : string
ToInt16 ( this value, int index ) : short
ToInt32 ( this value, int index ) : int
ToString ( this bytes, int offset, int count ) : string

Method Details

Equal() public static méthode

public static Equal ( this b1, byte b2 ) : bool
b1 this
b2 byte
Résultat bool

Equal() public static méthode

public static Equal ( this b1, byte b2, int start ) : bool
b1 this
b2 byte
start int
Résultat bool

Reverse() public static méthode

public static Reverse ( this source ) : byte[]
source this
Résultat byte[]

ToHex() public static méthode

public static ToHex ( this data, int offset, int count ) : string
data this
offset int
count int
Résultat string

ToInt16() public static méthode

public static ToInt16 ( this value, int index ) : short
value this
index int
Résultat short

ToInt32() public static méthode

public static ToInt32 ( this value, int index ) : int
value this
index int
Résultat int

ToString() public static méthode

public static ToString ( this bytes, int offset, int count ) : string
bytes this
offset int
count int
Résultat string