C# Класс Flood.Serialization.JSONSerializer.LookaheadReader

Holds up to one byte from the transport
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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