WSTestUTF16Head()

This feature is not supported on the Wolfram Cloud.

int WSTestUTF16Head(WSLINKl, const unsigned short *h, int v, int *n)tests that the next expression to be read from l is an expression with the head h and a UTF-16 encoded name of length v, and stores the number of arguments of the expression in n.

WSTestUTF16Head() will reset the stream pointer to the expression on the link just prior to calling WSTestUTF16Head() if the function fails. This operation behaves as if the programmer called WSCreateMark(l); WSTestUTF16Head(…); WSSeekToMark(…).

The UTF-16 encoded head h must include a byte order mark.

The length v of the UTF-16 encoded head h must include the byte order mark.