Writes value as an unsigned 16-bit little-endian integer into this array, occupying offset and offset + 1 (low byte first).
Only the low 16 bits of value are used. This frames length-prefixed fields for the native protocol layer.
if the two bytes would not fit within the array.