Méthode | Description | |
---|---|---|
DecodeFloat ( byte bytes ) : float |
Decode the payload that was encoded using encodeFloat(float) NOTE: the length of the array must be at least offset + 4 long.
|
|
DecodeFloat ( byte bytes, int offset ) : float |
Decode the payload that was encoded using encodeFloat(float) NOTE: the length of the array must be at least offset + 4 long.
|
|
DecodeInt ( byte bytes, int offset ) : int | ||
EncodeFloat ( float payload ) : byte[] | ||
EncodeFloat ( float payload, byte data, int offset ) : byte[] | ||
EncodeInt ( int payload ) : byte[] | ||
EncodeInt ( int payload, byte data, int offset ) : byte[] |
public static DecodeFloat ( byte bytes ) : float | ||
bytes | byte | The bytes to decode |
Résultat | float |
public static DecodeFloat ( byte bytes, int offset ) : float | ||
bytes | byte | The bytes to decode |
offset | int | The offset into the array. |
Résultat | float |
public static DecodeInt ( byte bytes, int offset ) : int | ||
bytes | byte | |
offset | int | |
Résultat | int |
public static EncodeFloat ( float payload ) : byte[] | ||
payload | float | |
Résultat | byte[] |
public static EncodeFloat ( float payload, byte data, int offset ) : byte[] | ||
payload | float | |
data | byte | |
offset | int | |
Résultat | byte[] |
public static EncodeInt ( int payload ) : byte[] | ||
payload | int | |
Résultat | byte[] |
public static EncodeInt ( int payload, byte data, int offset ) : byte[] | ||
payload | int | |
data | byte | |
offset | int | |
Résultat | byte[] |