C# Класс GooglePlayServices.CommandLine.LineReader

Aggregates lines read by AsyncStreamReader.
Показать файл Открыть проект

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

Метод Описание
Aggregate ( List dataStream ) : StreamData

Aggregate the specified list of StringBytes into a single structure.

AggregateLine ( Process process, StreamWriter stdin, StreamData data ) : void

Delegate method which can be attached to AsyncStreamReader.DataReceived to aggregate data until a new line is found before calling LineHandler.

Flush ( ) : void

Flush the internal buffer.

GetBufferedData ( int handle ) : List

Retrieve the currently buffered set of data. This allows the user to retrieve data before the end of a stream when a newline isn't present.

LineReader ( IOHandler handler = null ) : System.Collections.Generic

Initialize the instance.

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

Aggregate() публичный статический Метод

Aggregate the specified list of StringBytes into a single structure.
public static Aggregate ( List dataStream ) : StreamData
dataStream List Data to aggregate.
Результат StreamData

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

Delegate method which can be attached to AsyncStreamReader.DataReceived to aggregate data until a new line is found before calling LineHandler.
public AggregateLine ( Process process, StreamWriter stdin, StreamData data ) : void
process System.Diagnostics.Process
stdin System.IO.StreamWriter
data StreamData
Результат void

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

Flush the internal buffer.
public Flush ( ) : void
Результат void

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

Retrieve the currently buffered set of data. This allows the user to retrieve data before the end of a stream when a newline isn't present.
public GetBufferedData ( int handle ) : List
handle int Handle of the stream to query.
Результат List

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

Initialize the instance.
public LineReader ( IOHandler handler = null ) : System.Collections.Generic
handler IOHandler Called for each line read.
Результат System.Collections.Generic