bytesToShort

open fun bytesToShort(b1: Byte, b2: Byte): Short

Converts two bytes to one short.

Return

A short value.

Parameters

b1

The first byte.

b2

The second byte.