C# Class DNS.Protocol.Utils.ByteStream

Inheritance: Stream
Afficher le fichier Open project: greggman/hft-unity-gamepad Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Append ( IEnumerable buffers ) : ByteStream
buffers IEnumerable
Résultat ByteStream

Append() public méthode

public Append ( byte buf ) : ByteStream
buf byte
Résultat ByteStream

ByteStream() public méthode

public ByteStream ( int capacity ) : System
capacity int
Résultat System

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Reset() public méthode

public Reset ( ) : void
Résultat void

Seek() public méthode

public Seek ( long offset, System origin ) : long
offset long
origin System
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

ToArray() public méthode

public ToArray ( ) : byte[]
Résultat byte[]

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void