Name

OBEX_UnicodeToChar — Simple unicode to char function.

Synopsis

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

Arguments

c

Destination (char)

uc

Source (unicode)

size

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

Description

Buffers may not overlap. Returns -1 on error.