Helper for AG serialization.
IAnimationStateNode.h
AG_FILE * ag_file;
FILE * file;
ICryPak * pak;
bool reading;
bool swappingEndian;
FileSerializationHelper();
FileSerializationHelper(bool read, AG_FILE* f);
void Init(bool read, AG_FILE* f);
template <class T> void ReadFromBuffer(T* data, int elements = 1);
void StringValue(string * s);
void Value(CCryName* data, int elements = 1);
template <class T> void Value(T* data, int elements = 1);