C# Class Thrift.Protocol.TJSONProtocol.LookaheadReader

Holds up to one byte from the transport
Afficher le fichier Open project: abhinavkulkarni/topic-modeling Class Usage Examples

Protected Properties

Свойство Type Description
proto TJSONProtocol

Méthodes publiques

Méthode Description
LookaheadReader ( TJSONProtocol proto ) : System
Peek ( ) : byte

Return the next byte to be Read without consuming, filling the data buffer if it has not been filled alReady.

Read ( ) : byte

Return and consume the next byte to be Read, either taking it from the data buffer if present or getting it from the transport otherwise.

Method Details

LookaheadReader() public méthode

public LookaheadReader ( TJSONProtocol proto ) : System
proto TJSONProtocol
Résultat System

Peek() public méthode

Return the next byte to be Read without consuming, filling the data buffer if it has not been filled alReady.
public Peek ( ) : byte
Résultat byte

Read() public méthode

Return and consume the next byte to be Read, either taking it from the data buffer if present or getting it from the transport otherwise.
public Read ( ) : byte
Résultat byte

Property Details

proto protected_oe property

protected TJSONProtocol,Thrift.Protocol proto
Résultat TJSONProtocol