Méthode | Description | |
---|---|---|
And ( this array, byte array2 ) : byte[] | ||
AndWith ( this array, byte array2 ) : void | ||
Clamp ( this i, byte min, byte max ) : int | ||
GetBits ( this i, int position, int length ) : byte | ||
GetBits ( this i, int position, int length ) : byte[] | ||
GetMask ( int position, int length ) : byte | ||
GetMaskArray ( int position, int length ) : byte[] | ||
IsInRange ( this i, byte min, byte max ) : bool | ||
Neg ( this array ) : byte[] | ||
NegWith ( this array ) : void | ||
Or ( this array, byte array2 ) : byte[] | ||
OrWith ( this array, byte array2 ) : void | ||
Shift ( this array, int toShift ) : byte[] |
Shifts bytes in array. Assumes bytes are in big endian order and high priority bits are first Could be made faster with using uints... |
|
ToHexString ( this i, string prefix ) : string | ||
ToString ( this i, int bytesPerWord ) : string | ||
WriteTo ( this array, int destination, byte source, int length ) : void | ||
Xor ( this array, byte array2 ) : byte[] | ||
XorWith ( this array, byte array2 ) : void |
public static And ( this array, byte array2 ) : byte[] | ||
array | this | |
array2 | byte | |
Résultat | byte[] |
public static AndWith ( this array, byte array2 ) : void | ||
array | this | |
array2 | byte | |
Résultat | void |
public static Clamp ( this i, byte min, byte max ) : int | ||
i | this | |
min | byte | |
max | byte | |
Résultat | int |
public static GetBits ( this i, int position, int length ) : byte | ||
i | this | |
position | int | |
length | int | |
Résultat | byte |
public static GetBits ( this i, int position, int length ) : byte[] | ||
i | this | |
position | int | |
length | int | |
Résultat | byte[] |
public static GetMask ( int position, int length ) : byte | ||
position | int | |
length | int | |
Résultat | byte |
public static GetMaskArray ( int position, int length ) : byte[] | ||
position | int | |
length | int | |
Résultat | byte[] |
public static IsInRange ( this i, byte min, byte max ) : bool | ||
i | this | |
min | byte | |
max | byte | |
Résultat | bool |
public static NegWith ( this array ) : void | ||
array | this | |
Résultat | void |
public static Or ( this array, byte array2 ) : byte[] | ||
array | this | |
array2 | byte | |
Résultat | byte[] |
public static OrWith ( this array, byte array2 ) : void | ||
array | this | |
array2 | byte | |
Résultat | void |
public static Shift ( this array, int toShift ) : byte[] | ||
array | this | Array to shift |
toShift | int | Positive means right shifting, negative left |
Résultat | byte[] |
public static ToHexString ( this i, string prefix ) : string | ||
i | this | |
prefix | string | |
Résultat | string |
public static ToString ( this i, int bytesPerWord ) : string | ||
i | this | |
bytesPerWord | int | |
Résultat | string |
public static WriteTo ( this array, int destination, byte source, int length ) : void | ||
array | this | |
destination | int | |
source | byte | |
length | int | |
Résultat | void |
public static Xor ( this array, byte array2 ) : byte[] | ||
array | this | |
array2 | byte | |
Résultat | byte[] |
public static XorWith ( this array, byte array2 ) : void | ||
array | this | |
array2 | byte | |
Résultat | void |