C# 클래스 Tx.Network.Block

파일 보기 프로젝트 열기: Reactive-Extensions/Tx

보호된 메소드들

메소드 설명
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