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. 

Returns true if and only if the specified byte is one of the leading bytes of the specified code page.

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