StreamReader.readUTF32

Reads a UTF32 string from the stream.

This function determines endianness from the byte-order-mark in the stream; if none is found an exception is thrown.

class StreamReader
@nogc @safe @trusted
readUTF32
(
uint length
)

Parameters

length uint

the length of the string to read, including BOM.

Return Value

Type: ndstring

The UTF32 string read from the stream.

Meta