utf8size

Returns the size of the string (in bytes) that is needed to hold the contents of the s parameter.

Library:LibC
Service:Characters and Strings

Syntax

  #include <utf8.h> 
   
  size_t utf8size (
     const utf8_t  *string);
  

Parameters

string

(IN) Points to the string whose size is to be determined.

Return Values

Returns the size (in bytes) of the original string.