C# Class bitmessage.network.Header

Afficher le fichier Open project: sharpbitmessage/SharpBitmessage Class Usage Examples

Méthodes publiques

Свойство Type Description
Checksum byte[]
Command string
Length int
Magic byte[]

Méthodes publiques

Méthode Description
Header ( BinaryReader br ) : System
ReadHeaderCommand ( byte bytes ) : string
ReadLength ( byte bytes ) : int

Private Methods

Méthode Description
ReadHeaderMagic ( BinaryReader br ) : void

Method Details

Header() public méthode

public Header ( BinaryReader br ) : System
br System.IO.BinaryReader
Résultat System

ReadHeaderCommand() public static méthode

public static ReadHeaderCommand ( byte bytes ) : string
bytes byte
Résultat string

ReadLength() public static méthode

public static ReadLength ( byte bytes ) : int
bytes byte
Résultat int

Property Details

Checksum public_oe property

public byte[] Checksum
Résultat byte[]

Command public_oe property

public string Command
Résultat string

Length public_oe property

public int Length
Résultat int

Magic public_oe static_oe property

public static byte[] Magic
Résultat byte[]