C# Class Smoothget.Utils

Afficher le fichier Open project: pinglossy/smoothget

Méthodes publiques

Méthode Description
ArePrefixBytesEqual ( byte a, byte b, int size ) : bool
CombineByteArrays ( IList arrays ) : byte[]
CombineByteArraysAndArraySegments ( IList arrays, IList arraySegments ) : byte[]
CombineBytes ( byte a, byte b ) : byte[]
CombineBytes ( byte a, byte b, byte c ) : byte[]
EscapeString ( string s ) : string
GetSubBytes ( byte bytes, int start, int end ) : byte[]
HexDecodeBytes ( byte hexEncodedData, int start, int end ) : byte[]
HexDecodeString ( string hexEncodedData ) : byte[]
HexEncodeString ( byte bytes ) : string
InplaceReverseBytes ( byte a ) : byte[]

Method Details

ArePrefixBytesEqual() public static méthode

public static ArePrefixBytesEqual ( byte a, byte b, int size ) : bool
a byte
b byte
size int
Résultat bool

CombineByteArrays() public static méthode

public static CombineByteArrays ( IList arrays ) : byte[]
arrays IList
Résultat byte[]

CombineByteArraysAndArraySegments() public static méthode

public static CombineByteArraysAndArraySegments ( IList arrays, IList arraySegments ) : byte[]
arrays IList
arraySegments IList
Résultat byte[]

CombineBytes() public static méthode

public static CombineBytes ( byte a, byte b ) : byte[]
a byte
b byte
Résultat byte[]

CombineBytes() public static méthode

public static CombineBytes ( byte a, byte b, byte c ) : byte[]
a byte
b byte
c byte
Résultat byte[]

EscapeString() public static méthode

public static EscapeString ( string s ) : string
s string
Résultat string

GetSubBytes() public static méthode

public static GetSubBytes ( byte bytes, int start, int end ) : byte[]
bytes byte
start int
end int
Résultat byte[]

HexDecodeBytes() public static méthode

public static HexDecodeBytes ( byte hexEncodedData, int start, int end ) : byte[]
hexEncodedData byte
start int
end int
Résultat byte[]

HexDecodeString() public static méthode

public static HexDecodeString ( string hexEncodedData ) : byte[]
hexEncodedData string
Résultat byte[]

HexEncodeString() public static méthode

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

InplaceReverseBytes() public static méthode

public static InplaceReverseBytes ( byte a ) : byte[]
a byte
Résultat byte[]