mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
29 lines
371 B
C++
29 lines
371 B
C++
#ifndef APPLESINGLE_H
|
|
#define APPLESINGLE_H
|
|
|
|
class AppleSingleException
|
|
{
|
|
};
|
|
|
|
class InvalidFileException : public AppleSingleException
|
|
{
|
|
};
|
|
|
|
class AppleSingle
|
|
{
|
|
public:
|
|
static constexpr uint32_t OVERHEAD = 0x5e;
|
|
|
|
public:
|
|
void parse(const Bytes& combined);
|
|
Bytes render();
|
|
|
|
public:
|
|
Bytes data;
|
|
Bytes rsrc;
|
|
Bytes creator;
|
|
Bytes type;
|
|
};
|
|
|
|
#endif
|