ktor-utils / io.ktor.util / kotlin.ByteArray / readShort

readShort

fun ByteArray.readShort(offset: Int): Short

Read Short in network order(BE) with specified offset from ByteArray.