Function |to_i16

conv/i8::|to_i16


Usage

|to_i16(value)

Parameters

↳ value: i8

Return

i16


Turns i8 into i16.

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