Sequence ToI16

std/conversion/vector/u8::ToI16


Inputs

value: Stream<Vec<u8>>

Outputs

↦ value: Stream<Vec<i16>>


Convert stream of Vec<u8> into Vec<i16> one.

Vec<u8> gets converted into Vec<i16>, and the resulting vectors are send through stream in continuity. This conversion is lossless, u8 values can all fit into i16.