Function |to_i16

conv/u8::|to_i16


Usage

|to_i16(value)

Parameters

↳ value: u8

Return

i16


Turns u8 into i16.

This conversion is lossless, as any u8 value can fit into a i16.