mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
21 lines
404 B
C++
21 lines
404 B
C++
#pragma once
|
|
|
|
class GpIOStream;
|
|
struct IGpAllocator;
|
|
|
|
namespace PortabilityLayer
|
|
{
|
|
class MacFileMem;
|
|
struct MacFileInfo;
|
|
|
|
namespace MacBinary2
|
|
{
|
|
static const int kHeaderSize = 128;
|
|
|
|
void SerializeHeader(unsigned char *headerBytes, const MacFileInfo &macFileInfo);
|
|
|
|
void WriteBin(const MacFileMem *file, GpIOStream *stream);
|
|
MacFileMem *ReadBin(GpIOStream *stream, IGpAllocator *alloc);
|
|
};
|
|
}
|