.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FcUtf16ToUcs4" "3" "2022/03/31" "Fontconfig 2.14.0" ""
.SH NAME
FcUtf16ToUcs4 \- convert UTF-16 to UCS4
.SH SYNOPSIS
.sp
\fB#include
.sp
int FcUtf16ToUcs4 (FcChar8 *\fIsrc\fB, FcEndian \fIendian\fB, FcChar32 *\fIdst\fB, int \fIlen\fB);
\fR
.SH "DESCRIPTION"
.PP
Converts the next Unicode char from \fIsrc\fR into
\fIdst\fR and returns the number of bytes containing the
char. \fIsrc\fR must be at least \fIlen\fR
bytes long. Bytes of \fIsrc\fR are combined into 16-bit
units according to \fIendian\fR\&.