Sequence Size

std/flow/byte::Size


Inputs

value: Stream<Vec<byte>>

Outputs

↦ size: Stream<u64>


Gives number of elements present in each vector passing through input stream.

For each vector one size value is sent, giving the number of elements contained within matching vector.

graph LR
    T("Size()")
    V["…[🟦 🟦][🟦][🟦 🟦 🟦]…"] -->|value| T
    
    T -->|size| P["… 2️⃣ 1️⃣ 3️⃣ …"]

    style V fill:#ffff,stroke:#ffff
    style P fill:#ffff,stroke:#ffff