XZ_MAGIC
if (memcmp(block, XZ_MAGIC, sizeof(XZ_MAGIC)) == 0) {
else if (memcmp(buf, XZ_MAGIC, 4) == 0) /* XXX: We only have 4 bytes */