目录

GetPrimaryFormat

Function Description

Parses primary format information from the actual format.

Function Prototype

inline int32_t GetPrimaryFormat(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.)

Return Value

Primary format contained in the actual format.

Exception Handling

None

Restrictions

None