C# Class DNS.Protocol.Utils.ByteStream

Inheritance: Stream
ファイルを表示 Open project: greggman/hft-unity-gamepad Class Usage Examples

Public Methods

Method Description
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

Method Details

Append() public method

public Append ( IEnumerable buffers ) : ByteStream
buffers IEnumerable
return ByteStream

Append() public method

public Append ( byte buf ) : ByteStream
buf byte
return ByteStream

ByteStream() public method

public ByteStream ( int capacity ) : System
capacity int
return System

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Reset() public method

public Reset ( ) : void
return void

Seek() public method

public Seek ( long offset, System origin ) : long
offset long
origin System
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

Write() public method

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