Name

OBEX_CharToUnicode — Simple char to unicode function.

Synopsis

int OBEX_CharToUnicode (uc,  
 c,  
 size); 
uint8_t *  uc;
const uint8_t *  c;
int  size;

Arguments

uc

Destination (unicode)

c

Source (char)

size

Length of destination buffer, at least twice the size of source

Description

Buffers may not overlap. Returns -1 on error.