klyn.net.SocketInputStream.readBytes
method
public readBytes(length as Int) as Array<Byte> throws IOException:
Description

Reads bytes from the socket.

Throws
  • IOException if the socket stream is closed, disconnected, times out, or the underlying network I/O fails.