1 #ifndef _INPUTSTREAM_H_
2 #define _INPUTSTREAM_H_
12 virtual ~IInputStream(){}
15 // ストリーム毎に、1単位が異なるため、vector<unsigned char>にてバイト単位で
17 virtual std::vector<unsigned char> read() = 0;
18 virtual std::vector<unsigned char> read(int num) = 0;
20 virtual std::vector<unsigned char> peek() = 0;
25 #endif /* _INPUTSTREAM_H_ */