C# Класс Tx.Network.Block

Показать файл Открыть проект

Защищенные методы

Метод Описание
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

Описание методов

Block() защищенный Метод

protected Block ( BlockType type, UInt32 length ) : System
type BlockType
length System.UInt32
Результат System

ReadAsciiOption() защищенный Метод

protected ReadAsciiOption ( BinaryReader reader, int len ) : string
reader System.IO.BinaryReader
len int
Результат string

ReadBytesOption() защищенный Метод

protected ReadBytesOption ( BinaryReader reader, int len ) : byte[]
reader System.IO.BinaryReader
len int
Результат byte[]

ReadEndOfPacket() защищенный Метод

The inheriting classes must call this as last line in their constructor
protected ReadEndOfPacket ( BinaryReader reader ) : void
reader System.IO.BinaryReader
Результат void