C# Класс BitSharp.Core.DataDecoder

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

Открытые методы

Метод Описание
DecodeBlock ( BinaryReader reader ) : BitSharp.Core.Domain.Block
DecodeBlock ( UInt256 blockHash, byte buffer, int offset ) : BitSharp.Core.Domain.Block
DecodeBlockHeader ( UInt256 blockHash, byte buffer, int offset ) : BlockHeader
DecodeBlockSpentTxes ( byte buffer, int offset ) : BlockSpentTxes
DecodeBlockTxNode ( byte buffer, bool skipTxBytes = false ) : BlockTxNode
DecodeChainedHeader ( byte buffer ) : ChainedHeader
DecodeEncodedTx ( UInt256 txHash, byte buffer, int offset ) : DecodedTx
DecodeFixedString ( byte buffer, int offset, int length = null ) : string
DecodeInt32 ( byte buffer, int &offset ) : int
DecodeInt64 ( byte buffer, int &offset ) : long
DecodeOutputStates ( byte buffer ) : OutputStates
DecodePrevTxOutput ( byte buffer, int offset ) : PrevTxOutput
DecodePrevTxOutputList ( byte buffer, int offset ) : ImmutableArray
DecodeSpentTx ( byte buffer, int offset ) : SpentTx
DecodeTotalWork ( byte buffer ) : System.Numerics.BigInteger
DecodeTransaction ( UInt256 txHash, byte buffer, int offset ) : BitSharp.Core.Domain.Transaction
DecodeTxInput ( byte buffer, int offset ) : BitSharp.Core.Domain.TxInput
DecodeTxInputList ( byte buffer, int offset ) : ImmutableArray
DecodeTxOutput ( byte buffer, int offset ) : TxOutput
DecodeTxOutputList ( byte buffer, int offset ) : ImmutableArray
DecodeUInt256 ( byte buffer, int &offset ) : UInt256
DecodeUInt32 ( byte buffer, int &offset ) : uint
DecodeUInt64 ( byte buffer, int &offset ) : ulong
DecodeUnmintedTx ( byte buffer, int offset ) : UnmintedTx
DecodeUnmintedTxList ( byte buffer, int offset ) : IImmutableList
DecodeUnspentTx ( byte buffer, int offset ) : UnspentTx
DecodeVarString ( byte buffer, int offset ) : string
ReadTransaction ( BinaryReader reader ) : byte[]

Приватные методы

Метод Описание
DecodeBool ( byte buffer, int &offset ) : bool
SizeAtLeast ( byte &buffer, int minLength ) : void

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

DecodeBlock() публичный статический Метод

public static DecodeBlock ( BinaryReader reader ) : BitSharp.Core.Domain.Block
reader System.IO.BinaryReader
Результат BitSharp.Core.Domain.Block

DecodeBlock() публичный статический Метод

public static DecodeBlock ( UInt256 blockHash, byte buffer, int offset ) : BitSharp.Core.Domain.Block
blockHash UInt256
buffer byte
offset int
Результат BitSharp.Core.Domain.Block

DecodeBlockHeader() публичный статический Метод

public static DecodeBlockHeader ( UInt256 blockHash, byte buffer, int offset ) : BlockHeader
blockHash UInt256
buffer byte
offset int
Результат BitSharp.Core.Domain.BlockHeader

DecodeBlockSpentTxes() публичный статический Метод

public static DecodeBlockSpentTxes ( byte buffer, int offset ) : BlockSpentTxes
buffer byte
offset int
Результат BlockSpentTxes

DecodeBlockTxNode() публичный статический Метод

public static DecodeBlockTxNode ( byte buffer, bool skipTxBytes = false ) : BlockTxNode
buffer byte
skipTxBytes bool
Результат BlockTxNode

DecodeChainedHeader() публичный статический Метод

public static DecodeChainedHeader ( byte buffer ) : ChainedHeader
buffer byte
Результат BitSharp.Core.Domain.ChainedHeader

DecodeEncodedTx() публичный статический Метод

public static DecodeEncodedTx ( UInt256 txHash, byte buffer, int offset ) : DecodedTx
txHash UInt256
buffer byte
offset int
Результат BitSharp.Core.Domain.DecodedTx

DecodeFixedString() публичный статический Метод

public static DecodeFixedString ( byte buffer, int offset, int length = null ) : string
buffer byte
offset int
length int
Результат string

DecodeInt32() публичный статический Метод

public static DecodeInt32 ( byte buffer, int &offset ) : int
buffer byte
offset int
Результат int

DecodeInt64() публичный статический Метод

public static DecodeInt64 ( byte buffer, int &offset ) : long
buffer byte
offset int
Результат long

DecodeOutputStates() публичный статический Метод

public static DecodeOutputStates ( byte buffer ) : OutputStates
buffer byte
Результат OutputStates

DecodePrevTxOutput() публичный статический Метод

public static DecodePrevTxOutput ( byte buffer, int offset ) : PrevTxOutput
buffer byte
offset int
Результат BitSharp.Core.Domain.PrevTxOutput

DecodePrevTxOutputList() публичный статический Метод

public static DecodePrevTxOutputList ( byte buffer, int offset ) : ImmutableArray
buffer byte
offset int
Результат ImmutableArray

DecodeSpentTx() публичный статический Метод

public static DecodeSpentTx ( byte buffer, int offset ) : SpentTx
buffer byte
offset int
Результат BitSharp.Core.Domain.SpentTx

DecodeTotalWork() публичный статический Метод

public static DecodeTotalWork ( byte buffer ) : System.Numerics.BigInteger
buffer byte
Результат System.Numerics.BigInteger

DecodeTransaction() публичный статический Метод

public static DecodeTransaction ( UInt256 txHash, byte buffer, int offset ) : BitSharp.Core.Domain.Transaction
txHash UInt256
buffer byte
offset int
Результат BitSharp.Core.Domain.Transaction

DecodeTxInput() публичный статический Метод

public static DecodeTxInput ( byte buffer, int offset ) : BitSharp.Core.Domain.TxInput
buffer byte
offset int
Результат BitSharp.Core.Domain.TxInput

DecodeTxInputList() публичный статический Метод

public static DecodeTxInputList ( byte buffer, int offset ) : ImmutableArray
buffer byte
offset int
Результат ImmutableArray

DecodeTxOutput() публичный статический Метод

public static DecodeTxOutput ( byte buffer, int offset ) : TxOutput
buffer byte
offset int
Результат BitSharp.Core.Domain.TxOutput

DecodeTxOutputList() публичный статический Метод

public static DecodeTxOutputList ( byte buffer, int offset ) : ImmutableArray
buffer byte
offset int
Результат ImmutableArray

DecodeUInt256() публичный статический Метод

public static DecodeUInt256 ( byte buffer, int &offset ) : UInt256
buffer byte
offset int
Результат UInt256

DecodeUInt32() публичный статический Метод

public static DecodeUInt32 ( byte buffer, int &offset ) : uint
buffer byte
offset int
Результат uint

DecodeUInt64() публичный статический Метод

public static DecodeUInt64 ( byte buffer, int &offset ) : ulong
buffer byte
offset int
Результат ulong

DecodeUnmintedTx() публичный статический Метод

public static DecodeUnmintedTx ( byte buffer, int offset ) : UnmintedTx
buffer byte
offset int
Результат BitSharp.Core.Domain.UnmintedTx

DecodeUnmintedTxList() публичный статический Метод

public static DecodeUnmintedTxList ( byte buffer, int offset ) : IImmutableList
buffer byte
offset int
Результат IImmutableList

DecodeUnspentTx() публичный статический Метод

public static DecodeUnspentTx ( byte buffer, int offset ) : UnspentTx
buffer byte
offset int
Результат BitSharp.Core.Domain.UnspentTx

DecodeVarString() публичный статический Метод

public static DecodeVarString ( byte buffer, int offset ) : string
buffer byte
offset int
Результат string

ReadTransaction() публичный статический Метод

public static ReadTransaction ( BinaryReader reader ) : byte[]
reader BinaryReader
Результат byte[]