setShortBE

fun ByteArray.setShortBE(offset: Int, value: Short)

Writes value as a big-endian short into this ByteArray at the specified offset.