Source

pyGAP / game / engine / io / file / decoder.h

Full commit
#ifndef __IO_FILE_DECODER_H__
#define __IO_FILE_DECODER_H__


#include <stdint.h>


namespace codec {
    class Base;
}

namespace io { namespace file {

class Base;


class Decoder {
public:
    Decoder();
    ~Decoder();

    uint8_t* decode(Base* file, uint32_t input_size, uint32_t output_size);

private:
    Decoder(const Decoder&);
    Decoder operator=(const Decoder&);

    ::codec::Base*  codec_;
    uint32_t    size_;
    uint8_t*    buffer_;
};


} /* namespace file */ } /* namespace io */


#endif