readShort

open suspend fun readShort(): Short

Overrides ByteReadChannel.readShort

Reads a short number (suspending if not enough bytes available) or fails if channel has been closed and not enough bytes.