Sequence BoolToByte
std/conversion/scalar/to_byte::BoolToByte
Inputs
⇥ value: Stream<bool>
Outputs
↦ data: Stream<byte>
Convert stream of bool
into byte
.
bool
gets converted into byte
, and the resulting bytes are send through stream in continuity.
If the value is true
the byte is set to 1, if false
to 0.