IInputStream class
Contents
Represents an arbitary stream with read capacity
Derived classes
- class ByteBuf final
- class FileStream final
- class IDataInputStream
- class bpf::system::Process::PipeStream final
Constructors, destructors, conversion operators
- ~IInputStream() virtual
Public functions
Function documentation
fsize bpf:: io:: IInputStream:: Read(void* buf,
fsize bufsize) pure virtual
| Parameters | |
|---|---|
| buf | buffer to receive the read bytes |
| bufsize | the size of the receiving buffer |
| Returns | number of bytes read |
| Exceptions | |
| IOException | in case of system error |
Reads bytes from this stream WARNING: When possible the implementation should not buffer