An LBMSDMRawDecimal is a helper class to minimise the effort of formatting
and parsing Decimals

C# |
public class LBMSDMRawDecimal : LBMSDMRaw, ICloneable

All Members | Constructors | Methods | Fields | ||
Icon | Member | Description |
---|---|---|
![]() | LBMSDMRawDecimal()()() | Create a raw decimal object defaulting to 0e0 |
![]() | LBMSDMRawDecimal(Int64, Int32) | Create a raw decimal providing the mantissa and exponent |
![]() | LBMSDMRawDecimal(String) | Create a raw decimal from a string |
![]() | Clone()()() | Get a copy of a raw decimal |
![]() | debug_level | Debug mask for SDM implementation. (Inherited from LBMSDM.) |
![]() | exponent()()() | Get the exponent of the decimal number |
![]() | format(array<Byte>[]()[], Int32) | Format into a byte buffer this field. |
![]() ![]() | length | The number of bytes needed to store a raw LBMSDMRawDecimal |
![]() | log(String) | Log an event. If debug level is set greater than 0, output to stderr (Inherited from LBMSDM.) |
![]() | mantissa()()() | Get the mantissa of the decimal number |
![]() | parse(array<Byte>[]()[], Int32) | Parse a byte buffer containing a raw decimal field (as received on a socket)
The byte buffer must be in network order
for example if the message has bad data
|
![]() | set_debug_level(Int32) | Set the debug level for processing this SDM message.
Currently all debugs go to standard out.
(Inherited from LBMSDM.) |
![]() | toDbgString()()() | Get a debug string for this object. This is not
expected to be called and exists for child classes.
(Inherited from LBMSDMRaw.) |
![]() | ToString()()() | Create a string representing a raw decimal (Overrides Object.ToString()()().) |