*evil scientist laughter* ITS ALIVE! ITS ALIVE!

This commit is contained in:
Thulinma 2011-04-16 03:44:48 +02:00
parent f801beab75
commit 4bdb7eb4e4
3 changed files with 21 additions and 18 deletions

View file

@ -35,6 +35,8 @@ namespace FLV {
bool FileLoader(FILE * f);
protected:
int buf; ///< Maximum length of buffer space.
bool done; ///< Body reading done?
unsigned int sofar; ///< How many bytes are read sofar?
//loader helper functions
bool MemReadUntil(char * buffer, unsigned int count, unsigned int & sofar, char * D, unsigned int S, unsigned int & P);
bool SockReadUntil(char * buffer, unsigned int count, unsigned int & sofar, DDV::Socket & sock);