Treatment tryToByte

std/conv::tryToByte


Generics

◻ T: TryToByte

Inputs

⇥ value: Stream<T>

Outputs

↦ into: Stream<Option<byte>>


Try to turn data stream into byte one.

This treatment manages faillible conversion to byte data type. If conversion is successful, an option with byte value is streamed, else the option is set to none.