So, I've written a Custom Binary Format outline but I'm not sure how to translate it to code. I was looking for a few tips on where to get started?
Here's my outline.
MAPDATA
{
signature // U24 0x4D, 0x41, 0x50 (MAP)
version // U8 0x01
width // U16 (MAX of 10000)
height // U16 (MAX of 10000)
tileCount // U32
tileList // TILE[tileCount]
}
TILE
{
id // STRING
}
STRING
{
dataLength // U16
data // U8[dataLength]
}