Method | Description | |
---|---|---|
ReadBoolean ( Stream stream ) : bool | ||
ReadDouble ( Stream stream ) : double |
Reads a double-precision floating point number in CBOR format from a data stream.
|
|
ReadInt32 ( Stream stream ) : int |
Reads a 32-bit integer in CBOR format from a data stream. If the object read is a floating-point number, it is truncated to an integer.
|
|
WriteBoolean ( bool value, Stream stream ) : void | ||
WriteInt32 ( int value, Stream stream ) : void |
Method | Description | |
---|---|---|
HalfPrecisionToSingle ( int value ) : float | ||
ReadFP ( Stream stream, int headByte ) : double | ||
ReadInteger ( Stream stream, int headByte, bool check32bit ) : long | ||
ToDouble ( long value ) : double | ||
ToSingle ( int value ) : float |
public static ReadBoolean ( Stream stream ) : bool | ||
stream | Stream | |
return | bool |
public static ReadDouble ( Stream stream ) : double | ||
stream | Stream | A data stream. |
return | double |
public static ReadInt32 ( Stream stream ) : int | ||
stream | Stream | A data stream. |
return | int |
public static WriteBoolean ( bool value, Stream stream ) : void | ||
value | bool | |
stream | Stream | |
return | void |
public static WriteInt32 ( int value, Stream stream ) : void | ||
value | int | |
stream | Stream | |
return | void |