C# 클래스 PeerCastStation.Core.StreamExtension

파일 보기 프로젝트 열기: kumaryu/peercaststation

공개 메소드들

메소드 설명
ReadAtom ( this stream ) : Atom
ReadAtomAsync ( this stream ) : Task
ReadAtomAsync ( this stream, CancellationToken cancel_token ) : Task
ReadByteAsync ( this stream ) : Task
ReadByteAsync ( this stream, CancellationToken cancel_token ) : Task
ReadBytes ( this stream, int length ) : byte[]
ReadBytesAsync ( this stream, int length, CancellationToken cancel_token ) : Task
ReadBytesAsync ( this stream, byte buffer, int offset, int length, CancellationToken cancel_token ) : Task
Write ( this stream, Atom atom ) : void
WriteAsync ( this stream, Atom atom ) : Task
WriteAsync ( this stream, Atom atom, CancellationToken cancel_token ) : Task
WriteByteAsync ( this stream, byte value, CancellationToken cancel_token ) : Task
WriteUTF8 ( this stream, string value ) : void
WriteUTF8Async ( this stream, string value ) : Task
WriteUTF8Async ( this stream, string value, CancellationToken cancel_token ) : Task

메소드 상세

ReadAtom() 정적인 공개 메소드

static public ReadAtom ( this stream ) : Atom
stream this
리턴 Atom

ReadAtomAsync() 정적인 공개 메소드

static public ReadAtomAsync ( this stream ) : Task
stream this
리턴 Task

ReadAtomAsync() 정적인 공개 메소드

static public ReadAtomAsync ( this stream, CancellationToken cancel_token ) : Task
stream this
cancel_token System.Threading.CancellationToken
리턴 Task

ReadByteAsync() 공개 정적인 메소드

public static ReadByteAsync ( this stream ) : Task
stream this
리턴 Task

ReadByteAsync() 공개 정적인 메소드

public static ReadByteAsync ( this stream, CancellationToken cancel_token ) : Task
stream this
cancel_token System.Threading.CancellationToken
리턴 Task

ReadBytes() 공개 정적인 메소드

public static ReadBytes ( this stream, int length ) : byte[]
stream this
length int
리턴 byte[]

ReadBytesAsync() 공개 정적인 메소드

public static ReadBytesAsync ( this stream, int length, CancellationToken cancel_token ) : Task
stream this
length int
cancel_token System.Threading.CancellationToken
리턴 Task

ReadBytesAsync() 공개 정적인 메소드

public static ReadBytesAsync ( this stream, byte buffer, int offset, int length, CancellationToken cancel_token ) : Task
stream this
buffer byte
offset int
length int
cancel_token System.Threading.CancellationToken
리턴 Task

Write() 정적인 공개 메소드

static public Write ( this stream, Atom atom ) : void
stream this
atom Atom
리턴 void

WriteAsync() 정적인 공개 메소드

static public WriteAsync ( this stream, Atom atom ) : Task
stream this
atom Atom
리턴 Task

WriteAsync() 정적인 공개 메소드

static public WriteAsync ( this stream, Atom atom, CancellationToken cancel_token ) : Task
stream this
atom Atom
cancel_token System.Threading.CancellationToken
리턴 Task

WriteByteAsync() 공개 정적인 메소드

public static WriteByteAsync ( this stream, byte value, CancellationToken cancel_token ) : Task
stream this
value byte
cancel_token System.Threading.CancellationToken
리턴 Task

WriteUTF8() 정적인 공개 메소드

static public WriteUTF8 ( this stream, string value ) : void
stream this
value string
리턴 void

WriteUTF8Async() 정적인 공개 메소드

static public WriteUTF8Async ( this stream, string value ) : Task
stream this
value string
리턴 Task

WriteUTF8Async() 정적인 공개 메소드

static public WriteUTF8Async ( this stream, string value, CancellationToken cancel_token ) : Task
stream this
value string
cancel_token System.Threading.CancellationToken
리턴 Task