Sequence Fill

std/filler/vector/u8::Fill


Inputs

value: Stream<u8>
pattern: Stream<Vec<void>>

Outputs

↦ value: Stream<Vec<u8>>


Fill an input stream of void vectors with matching values from u8 stream.

graph LR
    T("Fill()")
    V["… 🟥 🟧 🟨 …"] -->|value| T
    P["…[🟦 🟦 🟦][🟦 🟦][🟦 🟦 🟦]…"] -->|pattern| T
    
    T -->|value| O["…[🟥 🟥 🟥][🟧 🟧][🟨 🟨 🟨]…"]

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