C# Class ProtocolBuffers.TokenReader

Exibir arquivo Open project: enyim/ProtoBuf Class Usage Examples

Public Methods

Method Description
ReadNext ( ) : string
ReadNextOrThrow ( string expect ) : void

Read next token and throw a ProtoFormatException if the token was not the specified.

TokenReader ( string text ) : System

Private Methods

Method Description
GetChar ( ) : string

Method Details

ReadNext() public method

public ReadNext ( ) : string
return string

ReadNextOrThrow() public method

Read next token and throw a ProtoFormatException if the token was not the specified.
public ReadNextOrThrow ( string expect ) : void
expect string
return void

TokenReader() public method

public TokenReader ( string text ) : System
text string
return System