Méthode | Description | |
---|---|---|
Decode ( byte data ) : ulong |
Decodes the byte representation of an ulong value to the ulong value itself
|
|
Encode ( ulong value ) : byte[] |
Encodes a value of type ulong to a byte array.
|
|
EncodedSizeOf ( ulong value ) : int |
Calculates the number of bytes used to encode a ulong value
|
|
Read ( Stream source ) : byte[] |
Reads an encoded ulong from a given stream
|
|
Write ( ulong value, Stream target ) : void |
Writes an encoded ulong value to a given Stream
|
public static Decode ( byte data ) : ulong | ||
data | byte | byte representation |
Résultat | ulong |
public static Encode ( ulong value ) : byte[] | ||
value | ulong | Value to convert |
Résultat | byte[] |
public static EncodedSizeOf ( ulong value ) : int | ||
value | ulong | value to calculate the size of |
Résultat | int |
public static Read ( Stream source ) : byte[] | ||
source | Stream | Stream to read the value from |
Résultat | byte[] |
public static Write ( ulong value, Stream target ) : void | ||
value | ulong | Value to write |
target | Stream | Stream to write the value to |
Résultat | void |