Files

21 lines
404 B
C
Raw Permalink Normal View History

2020-10-11 19:50:03 -04:00
#pragma once
class GpIOStream;
struct IGpAllocator;
2020-10-11 19:50:03 -04:00
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, IGpAllocator *alloc);
2020-10-11 19:50:03 -04:00
};
}