C# 클래스 DNS.Protocol.Utils.ByteStream

상속: Stream
파일 보기 프로젝트 열기: greggman/hft-unity-gamepad 1 사용 예제들

공개 메소드들

메소드 설명
Append ( IEnumerable buffers ) : ByteStream
Append ( byte buf ) : ByteStream
ByteStream ( int capacity ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Reset ( ) : void
Seek ( long offset, System origin ) : long
SetLength ( long value ) : void
ToArray ( ) : byte[]
Write ( byte buffer, int offset, int count ) : void

메소드 상세

Append() 공개 메소드

public Append ( IEnumerable buffers ) : ByteStream
buffers IEnumerable
리턴 ByteStream

Append() 공개 메소드

public Append ( byte buf ) : ByteStream
buf byte
리턴 ByteStream

ByteStream() 공개 메소드

public ByteStream ( int capacity ) : System
capacity int
리턴 System

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Read() 공개 메소드

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

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Seek() 공개 메소드

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

SetLength() 공개 메소드

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

ToArray() 공개 메소드

public ToArray ( ) : byte[]
리턴 byte[]

Write() 공개 메소드

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