C# Class Flood.Serialization.JSONSerializer.LookaheadReader

Holds up to one byte from the transport
Afficher le fichier Open project: FloodProject/flood

Protected Properties

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

Méthodes publiques

Méthode Description
LookaheadReader ( JSONSerializer 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 ( JSONSerializer proto ) : System
proto JSONSerializer
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 JSONSerializer,Flood.Serialization proto
Résultat JSONSerializer