Function InputStream.readBytes

Attempts to read count bytes from stream and stores them in memory pointing by buffer. Returns number of bytes actually read

abstract ulong readBytes (
  void* buffer,
  ulong count
);