The OpenD Programming Language

EncodingScheme.decode

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.

class EncodingScheme
const abstract
dchar
decode
(
ref const(ubyte)[] s
)

Parameters

s const(ubyte)[]

the array whose first code point is to be decoded

Meta