*evil scientist laughter* ITS ALIVE! ITS ALIVE!

This commit is contained in:
Thulinma 2011-04-16 03:44:48 +02:00
parent c8bc0fbafe
commit 66a66b155c
5 changed files with 26 additions and 23 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);