le_utf8.h
Go to the documentation of this file.
1 
171 //--------------------------------------------------------------------------------------------------
180 #ifndef LEGATO_UTF8_INCLUDE_GUARD
181 #define LEGATO_UTF8_INCLUDE_GUARD
182 
183 
184 //--------------------------------------------------------------------------------------------------
195 //--------------------------------------------------------------------------------------------------
196 ssize_t le_utf8_NumChars
197 (
198  const char* string
199 );
200 
201 
202 //--------------------------------------------------------------------------------------------------
209 //--------------------------------------------------------------------------------------------------
210 size_t le_utf8_NumBytes
211 (
212  const char* string
213 );
214 
215 
216 //--------------------------------------------------------------------------------------------------
241 //--------------------------------------------------------------------------------------------------
243 (
244  char* destStr,
245  const char* srcStr,
246  const size_t destSize,
247  size_t* numBytesPtr
248 );
251 
252 
253 //--------------------------------------------------------------------------------------------------
276 //--------------------------------------------------------------------------------------------------
278 (
279  char* destStr,
280  const char* srcStr,
281  const size_t destSize,
282  size_t* destStrLenPtr
283 );
286 
287 
288 //--------------------------------------------------------------------------------------------------
304 //--------------------------------------------------------------------------------------------------
306 (
307  char* destStr,
308  const char* srcStr,
309  const char* subStr,
310  const size_t destSize,
311  size_t* numBytesPtr
312 );
315 
316 
317 //--------------------------------------------------------------------------------------------------
325 //--------------------------------------------------------------------------------------------------
327 (
328  const char* string
329 );
330 
331 
332 //--------------------------------------------------------------------------------------------------
341 //--------------------------------------------------------------------------------------------------
343 (
344  int* valuePtr,
345  const char* arg
346 );
347 
348 
349 //--------------------------------------------------------------------------------------------------
369 //--------------------------------------------------------------------------------------------------
371 (
372  const char* currentStr,
373  char* bufPtr,
374  size_t bufSize
375 );
376 
377 
378 #endif // LEGATO_UTF8_INCLUDE_GUARD
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)
size_t le_utf8_NumBytes(const char *string)
le_result_t le_utf8_GetMonotonicString(const char *currentStr, char *bufPtr, size_t bufSize)
le_result_t le_utf8_CopyUpToSubStr(char *destStr, const char *srcStr, const char *subStr, const size_t destSize, size_t *numBytesPtr)