LumiSoft Net Help
Peek Method (readToFirstChar)
Namespaces ► LumiSoft.Net.MIME ► MIME_Reader ► Peek(Boolean)
Shows next char in source stream, this method won't consume that char.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public int Peek(
    	bool readToFirstChar
    )

    Public Function Peek (
    	readToFirstChar As Boolean
    ) As Integer

    public:
    int Peek(
    	bool readToFirstChar
    )

    member Peek :
            readToFirstChar : bool -> int

Parameters

readToFirstChar (Boolean)
  Specifies if postion is moved to char(skips white spaces).

Return Value
Int32
Returns next char in source stream, returns -1 if end of stream.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119