All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
le_utf8.h
Go to the documentation of this file.
1 
118 //--------------------------------------------------------------------------------------------------
127 #ifndef LEGATO_UTF8_INCLUDE_GUARD
128 #define LEGATO_UTF8_INCLUDE_GUARD
129 
130 
131 //--------------------------------------------------------------------------------------------------
142 //--------------------------------------------------------------------------------------------------
143 ssize_t le_utf8_NumChars
144 (
145  const char* string
146 );
147 
148 
149 //--------------------------------------------------------------------------------------------------
156 //--------------------------------------------------------------------------------------------------
157 size_t le_utf8_NumBytes
158 (
159  const char* string
160 );
161 
162 
163 //--------------------------------------------------------------------------------------------------
188 //--------------------------------------------------------------------------------------------------
190 (
191  char* destStr,
192  const char* srcStr,
193  const size_t destSize,
194  size_t* numBytesPtr
195 );
198 
199 
200 //--------------------------------------------------------------------------------------------------
223 //--------------------------------------------------------------------------------------------------
225 (
226  char* destStr,
227  const char* srcStr,
228  const size_t destSize,
229  size_t* destStrLenPtr
230 );
233 
234 
235 //--------------------------------------------------------------------------------------------------
251 //--------------------------------------------------------------------------------------------------
253 (
254  char* destStr,
255  const char* srcStr,
256  const char* subStr,
257  const size_t destSize,
258  size_t* numBytesPtr
259 );
262 
263 
264 //--------------------------------------------------------------------------------------------------
272 //--------------------------------------------------------------------------------------------------
274 (
275  const char* string
276 );
277 
278 
279 #endif // LEGATO_UTF8_INCLUDE_GUARD
ssize_t le_utf8_NumChars(const char *string)
le_result_t
Definition: le_basics.h:34
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)
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)