C# 클래스 GooglePlayServices.CommandLine.LineReader

Aggregates lines read by AsyncStreamReader.
파일 보기 프로젝트 열기: googlesamples/unity-jar-resolver

공개 메소드들

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