#include <bgstream.h>
Public Members | |||
![]() | ![]() | virtual int | read ( ) = 0 |
![]() | ![]() | Reads one byte from stream. More... | |
![]() | ![]() | virtual long | read ( unsigned char *buffer, long offset, long len ) |
![]() | ![]() | Reads specified number of bytes from stream. More... |
Applications that need to define a subclass of InputStream must always provide a method that returns the next byte of input.
virtual int BGInputStream::read () [pure virtual]
|
Reads one byte from stream.
virtual long BGInputStream::read (unsigned char * buffer, long offset, long len) [virtual]
|
Reads specified number of bytes from stream.
buffer | Buffer to fill |
offset | Offset to use |
len | Nunber of bytes to read from stream |