Treatment tryToI16

std/conv::tryToI16


Generics

◻ T: TryToI16

Inputs

⇥ value: Stream<T>

Outputs

↦ into: Stream<Option<i16>>


Try to turn data stream into i16 one.

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