Treatment fill

flow/vec/byte::fill


Parameters

↳ var value: byte = 0x00

Inputs

⇥ pattern: Stream<Vec<void>>

Outputs

↦ filled: Stream<Vec<byte>>


Fill a pattern stream with a byte value.

graph LR
 T("fill(value=🟧)")
 B["…[🟦 🟦][🟦][🟦 🟦 🟦]…"] -->|pattern| T

 T -->|filled| O["…[🟧 🟧][🟧][🟧 🟧 🟧]…"]

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