PEXCountOCs - Count Output Commands in an Encoded List


Synopsis

 
   unsigned long PEXCountOCs(
      int float_format,
      unsigned long length,
      char *encoded_ocs
   )
 

Arguments

float_format
The floating-point format of the encoded output commands (PEXIEEE_754_32, PEXDEC_F_Floating, PEXIEEE_754_64 or PEXDEC_D_Floating).

length
The length, in bytes, of the encoded output commands.

encoded_ocs
A pointer to the encoded output commands.

Returns

The number of output commands represented in the encoded output commands.

Description

Invoke PEXCountOCs to get the number of output commands in the encoded list of output commands.

This function has no visible effect.

If your implementation does not support the specified floating-point format, then this function returns a count of zero.

Errors

None.

See Also

For a list of PEXlib Encode and Decode functions and related topics, see Output Command Encode and Decode.