ByteStream Class Reference

wraps simple file access (open, read bytes, close), should be subclassed by eg. <short description=""> More...

#include <ByteStream.hpp>

Inheritance diagram for ByteStream:

BufferedFileByteStream HttpByteStream UnbufferedFileByteStream List of all members.

Public Member Functions

 ByteStream (const char *uri, bool forReading=true)
const char * getUrl ()
bool isReadOnly ()
virtual bool open ()=0
virtual bool close ()=0
virtual int getChar ()=0
virtual int read (void *ptr, int size)=0
virtual int write (void *ptr, int size)=0
virtual int seek (u64 pos)=0
virtual u64 tell ()=0

Protected Attributes

char url [MAX_STR_LEN]
bool readOnly

Detailed Description

wraps simple file access (open, read bytes, close), should be subclassed by eg. <short description="">

Http reading access is used from diverse ContainerFile and diverse MuxDemuxIO classes

Author:
Michael Kropfberger
Version:
Id
ByteStream.hpp,v 1.6 2006/05/12 11:32:50 mkropfbe Exp

Definition at line 61 of file ByteStream.hpp.


The documentation for this class was generated from the following files: