API Reference > Other Classes > OdCharMapper Class > OdCharMapper Methods > OdCharMapper::isLeadByte Method
OdCharMapper::isLeadByte Method
Syntax
C++
static bool isLeadByte(OdUInt8 testByte, OdCodePageId codepageId);
Parameters 
Description 
OdUInt8 testByte 
[in] Byte to test.  
OdCodePageId codepageId 
[in] Object ID of the code page.  

true if the specified byte is one of the leading bytes of the specified code page, or false otherwise.

Checks whether the specified byte is one of the leading bytes of the specified code page. 

 

Copyright © 2002–2022. Open Design Alliance. All rights reserved.