DotNetLightning


LightningReaderStream Type

stream for reading lightning p2p msg

Constructors

Constructor Description

LightningReaderStream(inner)

Full Usage: LightningReaderStream(inner)

Parameters:
Returns: LightningReaderStream
inner : Stream
Returns: LightningReaderStream

Instance members

Instance member Description

this.ReadAll

Full Usage: this.ReadAll

Returns: byte array
Returns: byte array

this.ReadAllAsBigSize

Full Usage: this.ReadAllAsBigSize

Returns: uint64 array
Returns: uint64 array

this.ReadBigSize

Full Usage: this.ReadBigSize

Returns: uint64
Returns: uint64

this.ReadBoolean

Full Usage: this.ReadBoolean

Returns: bool
Returns: bool

this.ReadByte

Full Usage: this.ReadByte

Returns: byte
Returns: byte

this.ReadChannelFlags

Full Usage: this.ReadChannelFlags

Returns: ChannelFlags
Returns: ChannelFlags

this.ReadCommitmentNumber

Full Usage: this.ReadCommitmentNumber

Returns: CommitmentNumber
Returns: CommitmentNumber

this.ReadDelayedPaymentBasepoint

Full Usage: this.ReadDelayedPaymentBasepoint

Returns: DelayedPaymentBasepoint
Returns: DelayedPaymentBasepoint

this.ReadECDSACompact

Full Usage: this.ReadECDSACompact

Returns: LNECDSASignature
Returns: LNECDSASignature

this.ReadFundingPubKey

Full Usage: this.ReadFundingPubKey

Returns: FundingPubKey
Returns: FundingPubKey

this.ReadHtlcBasepoint

Full Usage: this.ReadHtlcBasepoint

Returns: HtlcBasepoint
Returns: HtlcBasepoint

this.ReadInt16

Full Usage: this.ReadInt16

Parameters:
    lendian : bool

Returns: int16
lendian : bool
Returns: int16

this.ReadInt32

Full Usage: this.ReadInt32

Parameters:
    lendian : bool

Returns: int32
lendian : bool
Returns: int32

this.ReadInt64

Full Usage: this.ReadInt64

Parameters:
    lendian : bool

Returns: int64
lendian : bool
Returns: int64

this.ReadKey

Full Usage: this.ReadKey

Returns: Key
Returns: Key

this.ReadPaymentBasepoint

Full Usage: this.ReadPaymentBasepoint

Returns: PaymentBasepoint
Returns: PaymentBasepoint

this.ReadPerCommitmentPoint

Full Usage: this.ReadPerCommitmentPoint

Returns: PerCommitmentPoint
Returns: PerCommitmentPoint

this.ReadPerCommitmentSecret

Full Usage: this.ReadPerCommitmentSecret

Returns: PerCommitmentSecret
Returns: PerCommitmentSecret

this.ReadPubKey

Full Usage: this.ReadPubKey

Returns: PubKey
Returns: PubKey

this.ReadRGB

Full Usage: this.ReadRGB

Returns: RGB
Returns: RGB

this.ReadRevocationBasepoint

Full Usage: this.ReadRevocationBasepoint

Returns: RevocationBasepoint
Returns: RevocationBasepoint

this.ReadSByte

Full Usage: this.ReadSByte

Returns: sbyte
Returns: sbyte

this.ReadScript

Full Usage: this.ReadScript

Returns: Script
Returns: Script

this.ReadShutdownScriptPubKey

Full Usage: this.ReadShutdownScriptPubKey

Returns: ShutdownScriptPubKey
Returns: ShutdownScriptPubKey

this.ReadTLV

Full Usage: this.ReadTLV

Returns: GenericTLV
Returns: GenericTLV

this.ReadTLVStream

Full Usage: this.ReadTLVStream

Returns: GenericTLV array
Returns: GenericTLV array

this.ReadUInt16

Full Usage: this.ReadUInt16

Parameters:
    lendian : bool

Returns: uint16
lendian : bool
Returns: uint16

this.ReadUInt256

Full Usage: this.ReadUInt256

Parameters:
    ?lendian : bool

Returns: uint256
?lendian : bool
Returns: uint256

this.ReadUInt32

Full Usage: this.ReadUInt32

Parameters:
    lendian : bool

Returns: uint32
lendian : bool
Returns: uint32

this.ReadUInt64

Full Usage: this.ReadUInt64

Parameters:
    lendian : bool

Returns: uint64
lendian : bool
Returns: uint64

this.ReadUInt8

Full Usage: this.ReadUInt8

Returns: uint8
Returns: uint8

this.ReadWithLen

Full Usage: this.ReadWithLen

Returns: byte array
Returns: byte array

this.TryReadAll

Full Usage: this.TryReadAll

Returns: byte array option
Returns: byte array option