Struct rlp::RlpStream [] [src]

pub struct RlpStream { /* fields omitted */ }

Appendable rlp encoder.

Methods

impl RlpStream
[src]

Drain the object and return the underlying ElasticArray.

Trait Implementations

impl Default for RlpStream
[src]

Returns the "default value" for a type. Read more

impl Stream for RlpStream
[src]

Initializes instance of empty Stream.

Initializes the Stream as a list.

Apends value to the end of stream, chainable. Read more

Declare appending the list of given size, chainable. Read more

Apends null to the end of stream, chainable. Read more

Appends raw (pre-serialised) RLP data. Use with caution. Chainable.

Clear the output stream so far. Read more

Returns true if stream doesnt expect any more items. Read more

Get raw encoded bytes

Streams out encoded bytes. Read more