Reader.peek

Get character at specified index relative to current position.

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

Return Value

Type: dchar

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

Meta