Reader.get

dchar get() @safe pure

Get the next character, moving buffer position beyond it.

Returns

Next character.

Throws

ReaderException if trying to read past the end of the buffer

or if invalid data is read.

char[] get(const size_t length) @safe pure

Get specified number of characters, moving buffer position beyond them.

Parameters

lengthNumber or characters (code points, not bytes) to get.

Returns

Characters starting at current position.