135 #ifndef LEGATO_UTF8_INCLUDE_GUARD 136 #define LEGATO_UTF8_INCLUDE_GUARD 198 return ( (byte & 0xC0) == 0x80 );
232 const size_t destSize,
267 const size_t destSize,
268 size_t* destStrLenPtr
296 const size_t destSize,
335 #endif // LEGATO_UTF8_INCLUDE_GUARD size_t le_utf8_NumBytesInChar(const char firstByte)
ssize_t le_utf8_NumChars(const char *string)
le_result_t
Definition: le_basics.h:35
bool le_utf8_IsFormatCorrect(const char *string)
le_result_t le_utf8_Copy(char *destStr, const char *srcStr, const size_t destSize, size_t *numBytesPtr)
le_result_t le_utf8_Append(char *destStr, const char *srcStr, const size_t destSize, size_t *destStrLenPtr)
le_result_t le_utf8_ParseInt(int *valuePtr, const char *arg)
static bool le_utf8_IsContinuationByte(const char byte)
Definition: le_utf8.h:194
size_t le_utf8_NumBytes(const char *string)
le_result_t le_utf8_CopyUpToSubStr(char *destStr, const char *srcStr, const char *subStr, const size_t destSize, size_t *numBytesPtr)