Sequence Linearize

std/flow/byte::Linearize


Inputs

vector: Stream<Vec<byte>>

Outputs

↦ value: Stream<byte>


Linearize stream of Vec<byte> into stream of Scalar<byte>.

All the input vectors are turned into continuous stream of scalar values, in the same order.

graph LR
    T(Linearize)
    B["[🟦 🟦][🟦][🟦 🟦 🟦]"] -->|vector| T
    
    T -->|value| O["🟦 🟦 🟦 🟦 🟦 🟦"]

    style B fill:#ffff,stroke:#ffff
    style O fill:#ffff,stroke:#ffff