Method | Description | |
---|---|---|
ByteArrayToHexString ( byte data ) : string |
Converts a byte array to a space seperated hex string
|
|
ByteArrayToHexString ( byte data, string seperator ) : string |
Converts a byte array to a hex string
|
|
ByteArrayToUInt64 ( byte data, int offset, int length ) : System.UInt64 |
Decodes the number encoded in data as a little endian number
|
|
ByteArrayToUInt64 ( byte data, int offset, int length, bool useLittleEndian ) : System.UInt64 | ||
ClearBytes ( byte data ) : void | ||
CompareByteArrays ( byte left, byte right ) : bool |
Compares the 2 byte arrays and returns if they contain the same data
|
|
SerializeToBytes ( ) : byte[] | ||
XORBytes ( byte data, byte key ) : void |
XORs all bytes from data with key and saves them to data
|
public static ByteArrayToHexString ( byte data ) : string | ||
data | byte | |
return | string |
public static ByteArrayToHexString ( byte data, string seperator ) : string | ||
data | byte | |
seperator | string | seperator which is appended to each hex value (except the last) |
return | string |
public static ByteArrayToUInt64 ( byte data, int offset, int length ) : System.UInt64 | ||
data | byte | A |
offset | int | A |
length | int | A |
return | System.UInt64 |
public static ByteArrayToUInt64 ( byte data, int offset, int length, bool useLittleEndian ) : System.UInt64 | ||
data | byte | |
offset | int | |
length | int | |
useLittleEndian | bool | |
return | System.UInt64 |
public static ClearBytes ( byte data ) : void | ||
data | byte | |
return | void |
public static CompareByteArrays ( byte left, byte right ) : bool | ||
left | byte | |
right | byte | |
return | bool |
public static XORBytes ( byte data, byte key ) : void | ||
data | byte | |
key | byte | |
return | void |