C# Class Tx.Network.Block

Afficher le fichier Open project: Reactive-Extensions/Tx

Méthodes protégées

Méthode Description
Block ( BlockType type, UInt32 length ) : System
ReadAsciiOption ( BinaryReader reader, int len ) : string
ReadBytesOption ( BinaryReader reader, int len ) : byte[]
ReadEndOfPacket ( BinaryReader reader ) : void

The inheriting classes must call this as last line in their constructor

Method Details

Block() protected méthode

protected Block ( BlockType type, UInt32 length ) : System
type BlockType
length System.UInt32
Résultat System

ReadAsciiOption() protected méthode

protected ReadAsciiOption ( BinaryReader reader, int len ) : string
reader System.IO.BinaryReader
len int
Résultat string

ReadBytesOption() protected méthode

protected ReadBytesOption ( BinaryReader reader, int len ) : byte[]
reader System.IO.BinaryReader
len int
Résultat byte[]

ReadEndOfPacket() protected méthode

The inheriting classes must call this as last line in their constructor
protected ReadEndOfPacket ( BinaryReader reader ) : void
reader System.IO.BinaryReader
Résultat void