C# 클래스 Squared.Task.IO.AsyncTextReader

상속: PendingOperationManager, IDisposable
파일 보기 프로젝트 열기: sq/Fracture 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultEncoding Encoding

공개 메소드들

메소드 설명
AsyncTextReader ( IAsyncDataSource dataSource, Encoding encoding, int bufferSize = DefaultBufferSize, bool ownsDataSource = true ) : System
AsyncTextReader ( IAsyncDataSource dataSource, bool ownsDataSource = true ) : System
Dispose ( ) : void
DisposeAndGetRemainingBytes ( ) : ArraySegment
Peek ( ) : Future
Read ( bool advance = true ) : Future
Read ( char buffer, int offset, int count ) : Future
ReadLine ( ) : Future
ReadToEnd ( ) : Future

비공개 메소드들

메소드 설명
AllocateBuffer ( ) : void
DecodeBuffer ( int bytesInBuffer ) : void
DecodeMoreData ( ) : Future
GetCurrentCharacter ( char &value ) : bool
GetCurrentCharacterAndAdvance ( char &value ) : bool
ReadDecodedCharactersUntilSentinel ( CharacterBuffer buffer, char sentinel ) : bool
ReadMoreData ( ) : Future
ReadNextCharacter ( ) : bool
ReturnBufferValue ( StringBuilder buffer ) : string

메소드 상세

AsyncTextReader() 공개 메소드

public AsyncTextReader ( IAsyncDataSource dataSource, Encoding encoding, int bufferSize = DefaultBufferSize, bool ownsDataSource = true ) : System
dataSource IAsyncDataSource
encoding System.Text.Encoding
bufferSize int
ownsDataSource bool
리턴 System

AsyncTextReader() 공개 메소드

public AsyncTextReader ( IAsyncDataSource dataSource, bool ownsDataSource = true ) : System
dataSource IAsyncDataSource
ownsDataSource bool
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DisposeAndGetRemainingBytes() 공개 메소드

public DisposeAndGetRemainingBytes ( ) : ArraySegment
리턴 ArraySegment

Peek() 공개 메소드

public Peek ( ) : Future
리턴 Future

Read() 공개 메소드

public Read ( bool advance = true ) : Future
advance bool
리턴 Future

Read() 공개 메소드

public Read ( char buffer, int offset, int count ) : Future
buffer char
offset int
count int
리턴 Future

ReadLine() 공개 메소드

public ReadLine ( ) : Future
리턴 Future

ReadToEnd() 공개 메소드

public ReadToEnd ( ) : Future
리턴 Future

프로퍼티 상세

DefaultEncoding 공개적으로 정적으로 프로퍼티

public static Encoding DefaultEncoding
리턴 Encoding