Reader.peek

Get character at specified index relative to current position.

  1. dchar peek(const size_t index)
    class Reader
    pure nothrow @nogc
    dchar
    peek
    @safe
    (
    const size_t index
    )
  2. dchar peek()

Return Value

Type: dchar

Character at specified position or '\0' if outside of the buffer.

Meta