Sha256: 80985a6c4776363fbc7ab393e3740968cc27f3e5662e060fff03196d8522bacd
Contents?: true
Size: 694 Bytes
Versions: 6
Compression:
Stored size: 694 Bytes
Contents
#ifndef SWF_FILE_H #define SWF_FILE_H #include "SWF.h" namespace SWF { class File { public: File(); ~File(); int load( FILE *fp, Context *ctx = NULL, unsigned int filesize=0 ); int save( FILE *fp, Context *ctx = NULL ); void dump(); int saveXML( FILE *fp, Context *ctx = NULL ); int loadXML( const char *filename, Context *ctx = NULL ); xmlDocPtr getXML( Context *ctx = NULL ); int setXML( xmlNodePtr root, Context *ctx = NULL ); protected: void compress( unsigned char *data, size_t len, FILE *fp ); void decompress( unsigned char *data, size_t len, FILE *fp ); Header *header; bool compressed; unsigned char version; uint32_t length; }; } #endif
Version data entries
6 entries across 6 versions & 1 rubygems