GetC0Value
Description
Parses C0 format information from the actual format.
Prototype
inline int64_t GetC0Value(int32_t format)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
format |
Input |
Actual format. (4-byte long. The higher 4 bits of the first byte are reserved, and the lower 4 bits are C0 format. The second and third bytes describe the sub-format, and the fourth byte describes the primary format.) |
Returns
- If C0 format is contained, the value of C0 format is returned.
- If C0 format is not contained, -1 is returned.
Exception Handling
None
Restrictions
For the setting of actual format, the C0 format value x for the lower four bits of the first byte ranges from 0001 to 1111, and the actual C0 format value is 2^x-1.
Parent topic: GE Namespace