EncodingScheme.decode

dchar decode(ref const(ubyte)[] s)

Decodes a single code point.

This function removes one or more ubytes from the start of an array, and returns the decoded code point which those ubytes represent.

The input to this function MUST be validly encoded.

Parameters

sthe array whose first code point is to be decoded