$darkmode
Herb C Reference
utf8.c File Reference
#include "include/utf8.h"

Functions

int utf8_char_byte_length (unsigned char first_byte)
 
bool utf8_is_valid_continuation_byte (unsigned char byte)
 
int utf8_sequence_length (const char *str, size_t position, size_t max_length)
 

Function Documentation

◆ utf8_char_byte_length()

int utf8_char_byte_length ( unsigned char  first_byte)

◆ utf8_is_valid_continuation_byte()

bool utf8_is_valid_continuation_byte ( unsigned char  byte)

◆ utf8_sequence_length()

int utf8_sequence_length ( const char *  str,
size_t  position,
size_t  max_length 
)