Typeberry by Fluffy Labs - v0.4.0
    Preparing search index...

    Class SequenceView<T, V>

    A lazy-evaluated decoder of a sequence.

    Instead of decoding/allocating the whole collection at once, you can wrap the decoder into SequenceView to do it lazily.

    Collection items can be decoded fully (materialized) or can just be requested as views.

    Type Parameters

    • T
    • V = T
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    length: number

    Length of the sequence (either already decoded or given if fixed).

    Methods