readArrayBuffer
fun ByteReadPacket.readArrayBuffer(n: Int = remaining.coerceAtMostMaxIntOrFail("Unable to make a new ArrayBuffer: packet is too big")): ArrayBuffer
Content copied to clipboard
Read exactly n bytes to a new array buffer instance