DotNetLightning


LightningStream Type

Simple Wrapper stream for serializing Lightning Network p2p messages. Why not use BitWriter/Reader? Because it does not support big endian and We might want to extend it in the future.

Constructors

Constructor Description

LightningStream(inner)

Full Usage: LightningStream(inner)

Parameters:
Returns: LightningStream
inner : Stream
Returns: LightningStream

Instance members

Instance member Description

this.Inner

Full Usage: this.Inner

Returns: Stream
Returns: Stream

this.Write

Full Usage: this.Write

Parameters:
    b : byte

b : byte

this.Write

Full Usage: this.Write

Parameters:
    buffer : byte array

buffer : byte array