open static fun ofUnsignedShort(value: Int): Bytes (source)
Return a 2 bytes value corresponding to the provided value interpreted as an unsigned short value.
value - The value, which must fit an unsigned short.
IllegalArgumentException - if v < 0 or v is too big to fit an unsigned 2-bytes short (that is, if v >= (1 << 16)).
Return
A 2 bytes value corresponding to v.