C# 클래스 GooglePlayServices.CommandLine.AsyncStreamReader

Asynchronously reads binary data from a stream using a configurable buffer.
파일 보기 프로젝트 열기: googlesamples/unity-jar-resolver 1 사용 예제들

공개 메소드들

메소드 설명
AsyncStreamReader ( int handle, Stream stream, int bufferSize ) : System.Collections.Generic

Initialize the reader.

CreateFromStreams ( Stream streams, int bufferSize ) : System.Diagnostics.AsyncStreamReader[]

Create a set of readers to read the specified streams, handles are assigned based upon the index of each stream in the provided array.

Start ( ) : void

Start reading.

비공개 메소드들

메소드 설명
Read ( ) : void

Read from the stream until the end is reached.

메소드 상세

AsyncStreamReader() 공개 메소드

Initialize the reader.
public AsyncStreamReader ( int handle, Stream stream, int bufferSize ) : System.Collections.Generic
handle int
stream Stream Stream to read.
bufferSize int Size of the buffer to read.
리턴 System.Collections.Generic

CreateFromStreams() 공개 정적인 메소드

Create a set of readers to read the specified streams, handles are assigned based upon the index of each stream in the provided array.
public static CreateFromStreams ( Stream streams, int bufferSize ) : System.Diagnostics.AsyncStreamReader[]
streams Stream Streams to read.
bufferSize int Size of the buffer to use to read each stream.
리턴 System.Diagnostics.AsyncStreamReader[]

Start() 공개 메소드

Start reading.
public Start ( ) : void
리턴 void