C# 클래스 Flood.Serialization.JSONSerializer.LookaheadReader

Holds up to one byte from the transport
파일 보기 프로젝트 열기: FloodProject/flood

보호된 프로퍼티들

프로퍼티 타입 설명
proto JSONSerializer

공개 메소드들

메소드 설명
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.

메소드 상세

LookaheadReader() 공개 메소드

public LookaheadReader ( JSONSerializer proto ) : System
proto JSONSerializer
리턴 System

Peek() 공개 메소드

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

Read() 공개 메소드

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
리턴 byte

프로퍼티 상세

proto 보호되어 있는 프로퍼티

protected JSONSerializer,Flood.Serialization proto
리턴 JSONSerializer