Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kStream_ReadSome | ( | kStream | stream,
|  | void * | buffer,
|  | kSize | minCount,
|  | kSize | maxCount,
|  | kSize * | bytesRead
| ) |  |

Reads up to the specified number of bytes from the stream.

Parameters

  stream | Stream object.
  buffer | Destination for bytes that are read.
  minCount | Minimum count of bytes to read.
  maxCount | Maximum count of bytes to read.
  bytesRead | Receives count of bytes read.

Returns
  Operation status.