Go to the documentation of this file.
32 char **outbuf,
size_t *outbytesleft)
34 unsigned char *outp = (
unsigned char *) *outbuf;
36 if (*outbytesleft >=
sizeof(
wchar_t))
39 memcpy(outp, &wch,
sizeof(wch));
41 (*outbytesleft) -=
sizeof(wch);
48 *outbuf = (
char *) outp;
70 size_t inbytesleft,
size_t *no_read)
74 if (inbytesleft <
sizeof(
wchar_t))
82 memcpy(&wch, inp,
sizeof(wch));
84 *no_read =
sizeof(wch);