int(* close)(mtar_t *tar)
char * bufferreader_data(BufferReader *br)
TarLoader(AssetLoader *loader)
virtual void load(BufferReader *reader, const std::string &filename)=0
virtual bool willLoad(const std::string &filename)=0
int mtar_next(mtar_t *tar)
virtual void load(BufferReader *reader, const std::string &filename) override
void bufferreader_destroy(BufferReader *br)
size_t bufferreader_data_length(BufferReader *br)
static int tar_read(mtar_t *tar, void *data, unsigned size)
int mtar_close(mtar_t *tar)
int(* read)(mtar_t *tar, void *data, unsigned size)
int mtar_read_header(mtar_t *tar, mtar_header_t *h)
static int tar_seek(mtar_t *tar, unsigned pos)
static int tar_close(mtar_t *)
void bufferreader_init_from_tar_file(BufferReader *br, mtar_t *tar, mtar_header_t *h)
BufferReader * bufferreader_create()
int(* seek)(mtar_t *tar, unsigned pos)