Files
Aerofoil/PortabilityLayer/MacBinary2.h

20 lines
362 B
C
Raw Normal View History

2020-10-11 19:50:03 -04:00
#pragma once
class GpIOStream;
namespace PortabilityLayer
{
class MacFileMem;
2021-05-07 02:16:25 -04:00
struct MacFileInfo;
2020-10-11 19:50:03 -04:00
namespace MacBinary2
{
2021-05-07 02:16:25 -04:00
static const int kHeaderSize = 128;
void SerializeHeader(unsigned char *headerBytes, const MacFileInfo &macFileInfo);
2020-10-11 19:50:03 -04:00
void WriteBin(const MacFileMem *file, GpIOStream *stream);
MacFileMem *ReadBin(GpIOStream *stream);
};
}