C# Class BitSharper.Message

Afficher le fichier Open project: TangibleCryptography/BitSharper Class Usage Examples

Private Properties

Свойство Type Description
Message System
Message System
ReadBytes byte[]
ReadHash Sha256Hash
ReadStr string
ReadUint32 uint
ReadUint64 ulong
ReadVarInt ulong

Méthodes publiques

Méthode Description
BitcoinSerialize ( ) : byte[]
BitcoinSerializeToStream ( Stream stream ) : void

Serializes this message to the provided stream. If you just want the raw bytes use bitcoinSerialize().

Méthodes protégées

Méthode Description
Message ( ) : System

This exists for the Java serialization framework to use only.

Parse ( ) : void

Private Methods

Méthode Description
Message ( NetworkParameters @params ) : System
Message ( NetworkParameters @params, byte msg, int offset, uint protocolVersion = NetworkParameters.ProtocolVersion ) : System
ReadBytes ( int length ) : byte[]
ReadHash ( ) : Sha256Hash
ReadStr ( ) : string
ReadUint32 ( ) : uint
ReadUint64 ( ) : ulong
ReadVarInt ( ) : ulong

Method Details

BitcoinSerialize() public méthode

public BitcoinSerialize ( ) : byte[]
Résultat byte[]

BitcoinSerializeToStream() public méthode

Serializes this message to the provided stream. If you just want the raw bytes use bitcoinSerialize().
public BitcoinSerializeToStream ( Stream stream ) : void
stream Stream
Résultat void

Message() protected méthode

This exists for the Java serialization framework to use only.
protected Message ( ) : System
Résultat System

Parse() protected abstract méthode

protected abstract Parse ( ) : void
Résultat void