Retro68/ResourceFiles/BinaryIO.h
2014-10-29 00:52:27 +01:00

20 lines
411 B
C++

#ifndef BINARYIO_H
#define BINARYIO_H
#include <iosfwd>
#include <string>
class ResType;
void byte(std::ostream& out, int byte);
void word(std::ostream& out, int word);
void ostype(std::ostream& out, ResType type);
void longword(std::ostream& out, int longword);
int byte(std::istream& in);
int word(std::istream& in);
ResType ostype(std::istream& in);
int longword(std::istream& in);
#endif // BINARYIO_H