Syntax
virtual int peek();
ContentsIndex
PreviousUpNext
LFile::peek Method
LFile Class
Syntax
virtual int peek();
Description

Reads single byte from file without moving the file cursor. If peek() is called repeatedly, it will always get the same result because the cursor is kept in the same place. In contrast, read() moves the file cursor 1 step further.

Returns

One byte of content the file cursor points to.

File

LStorage.h

Class