Sequence ToU16
std/conversion/vector/u8::ToU16
Inputs
⇥ value: Stream<Vec<u8>>
Outputs
↦ value: Stream<Vec<u16>>
Convert stream of Vec<u8>
into Vec<u16>
one.
Vec<u8>
gets converted into Vec<u16>
, and the resulting vectors are send through stream in continuity.
This conversion is lossless, u8
values can all fit into u16
.