C# 클래스 System.Net.Test.Common.VirtualNetworkStream

상속: System.IO.Stream
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
VirtualNetworkStream ( System.Net.Test.Common.VirtualNetwork network, bool isServer ) : System.IO
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task

메소드 상세

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Read() 공개 메소드

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

ReadAsync() 공개 메소드

public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
리턴 Task

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

VirtualNetworkStream() 공개 메소드

public VirtualNetworkStream ( System.Net.Test.Common.VirtualNetwork network, bool isServer ) : System.IO
network System.Net.Test.Common.VirtualNetwork
isServer bool
리턴 System.IO

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void

WriteAsync() 공개 메소드

public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
리턴 Task