C# 클래스 bitmessage.network.Header

파일 보기 프로젝트 열기: sharpbitmessage/SharpBitmessage 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Checksum byte[]
Command string
Length int
Magic byte[]

공개 메소드들

메소드 설명
Header ( BinaryReader br ) : System
ReadHeaderCommand ( byte bytes ) : string
ReadLength ( byte bytes ) : int

비공개 메소드들

메소드 설명
ReadHeaderMagic ( BinaryReader br ) : void

메소드 상세

Header() 공개 메소드

public Header ( BinaryReader br ) : System
br System.IO.BinaryReader
리턴 System

ReadHeaderCommand() 공개 정적인 메소드

public static ReadHeaderCommand ( byte bytes ) : string
bytes byte
리턴 string

ReadLength() 공개 정적인 메소드

public static ReadLength ( byte bytes ) : int
bytes byte
리턴 int

프로퍼티 상세

Checksum 공개적으로 프로퍼티

public byte[] Checksum
리턴 byte[]

Command 공개적으로 프로퍼티

public string Command
리턴 string

Length 공개적으로 프로퍼티

public int Length
리턴 int

Magic 공개적으로 정적으로 프로퍼티

public static byte[] Magic
리턴 byte[]