Changes
Page history
Remove compression header structure name
authored
Aug 27, 2019
by
Nico Bendlin
Hide whitespace changes
Inline
Side-by-side
compression.md
View page @
11cc1edb
Transparent stream compression is always optional. Compressed data is recognized by the four-byte magic value
`1 76 79 66`
.
```
c
struct
am2lob
{
struct
{
uint8_t
magic
[
4
];
// {0x01, 0x4C, 0x4F, 0x42} ("\1LOB")
uint8_t
method
;
// has to be 6 for Ambermoon
uint8_t
rawSize
[
3
];
// big-endian size of uncompressed data
...
...
...
...