#pragma once
#include "Tool/Blob.hpp"
#include <memory>
class ScriptData
{
    using BYTE = unsigned char;

private:
    std::shared_ptr<Blob> IO;

public:
    ScriptData();
    ~ScriptData();

    std::string filepath;
    std::string filetype;
    int filesize;
    int _CurI = 2;

    void Init(std::vector<BYTE> Data, std::string FilePath);
    std::string Get();
    void Back();
    bool IsEnd();
    std::string UnpackData();
};
