C# Класс Thrift.Protocol.TJSONProtocol.LookaheadReader

Holds up to one byte from the transport
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
proto TJSONProtocol

Открытые методы

Метод Описание
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.

Описание методов

LookaheadReader() публичный Метод

public LookaheadReader ( TJSONProtocol proto ) : System
proto TJSONProtocol
Результат 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 TJSONProtocol,Thrift.Protocol proto
Результат TJSONProtocol