readPacketExact

fun InputStream.readPacketExact(n: Long): <Error class: unknown class>

Read a packet of exactly n bytes