klyn.io.InputStream.readBytes
method
public readBytes(length as Int) as Array<Byte> throws IOException
Description
Reads up to `length` bytes from the stream.
Parameters
  • length Maximum number of bytes to read.
Returns
Read bytes, or an empty array at end-of-stream.