Method | Description | |
---|---|---|
CopyProperties ( object>.IDictionary |
Copies string/object dictionary to the destnation objects properties.
|
|
CopyProperties ( object source, object destination ) : void |
Copies the properties from one object to the next
|
|
GetBytes ( System.Numerics.BigInteger data ) : byte[] |
Gets the bytes for a long laid out big endian
|
|
GetBytes ( int data ) : byte[] |
Gets the bytes for an int laid out big endian
|
|
GetBytes ( long data ) : byte[] |
Gets the bytes for a long laid out big endian
|
|
HashKey ( int size ) : byte[] |
Hashes the key for keyczar version look ups.
|
|
HashKeyLengthPrefix ( int size ) : byte[] |
Hashes each component of the key hash with it's length first.
|
|
ReadHeader ( Stream data, byte &keyHash ) : byte[] |
Reads the keyczar header.
|
|
ReadHeader ( byte data, byte &keyHash ) : byte[] |
Reads the keyczar header.
|
|
ResetStreamWhenFinished ( Stream stream ) : |
Resets the stream poisition when Closed or Disposed.
|
|
StripLeadingZeros ( byte data ) : byte[] |
Strips the leading zeros from a byte array.
|
|
ToBigInteger ( byte data ) : System.Numerics.BigInteger |
To the BigInteger from big endian bytes.
|
|
ToBouncyBigInteger ( this value ) : Org.BouncyCastle.Math.BigInteger |
To the bouncy castle big integer.
|
|
ToBson ( this value ) : byte[] |
Bson Serializes the object.
|
|
ToInt32 ( byte data ) : int |
To the int32 from big endian bytes.
|
|
ToInt64 ( byte data ) : long |
To the int64 from big endian bytes.
|
|
ToJson ( this value ) : string |
Json Serializes the object.
|
|
ToSystemBigInteger ( this value ) : System.Numerics.BigInteger |
To the system standard big integer.
|
public static CopyProperties ( object>.IDictionary |
||
source | object>.IDictionary | The source. |
destination | object | The dest. |
return | void |
public static CopyProperties ( object source, object destination ) : void | ||
source | object | The source. |
destination | object | The dest. |
return | void |
public static GetBytes ( System.Numerics.BigInteger data ) : byte[] | ||
data | System.Numerics.BigInteger | The data. |
return | byte[] |
public static GetBytes ( int data ) : byte[] | ||
data | int | The data. |
return | byte[] |
public static GetBytes ( long data ) : byte[] | ||
data | long | The data. |
return | byte[] |
public static HashKey ( int size ) : byte[] | ||
size | int | The size. |
return | byte[] |
public static HashKeyLengthPrefix ( int size ) : byte[] | ||
size | int | The size. |
return | byte[] |
public static ReadHeader ( Stream data, byte &keyHash ) : byte[] | ||
data | Stream | The data. |
keyHash | byte | The key hash. |
return | byte[] |
public static ReadHeader ( byte data, byte &keyHash ) : byte[] | ||
data | byte | The data. |
keyHash | byte | The key hash. |
return | byte[] |
public static ResetStreamWhenFinished ( Stream stream ) : |
||
stream | Stream | The stream. |
return |
public static StripLeadingZeros ( byte data ) : byte[] | ||
data | byte | The data. |
return | byte[] |
public static ToBigInteger ( byte data ) : System.Numerics.BigInteger | ||
data | byte | The data. |
return | System.Numerics.BigInteger |
public static ToBouncyBigInteger ( this value ) : Org.BouncyCastle.Math.BigInteger | ||
value | this | The value. |
return | Org.BouncyCastle.Math.BigInteger |
public static ToBson ( this value ) : byte[] | ||
value | this | The obj. |
return | byte[] |
public static ToInt32 ( byte data ) : int | ||
data | byte | The data. |
return | int |
public static ToInt64 ( byte data ) : long | ||
data | byte | The data. |
return | long |
public static ToJson ( this value ) : string | ||
value | this | The obj. |
return | string |
public static ToSystemBigInteger ( this value ) : System.Numerics.BigInteger | ||
value | this | The value. |
return | System.Numerics.BigInteger |