/* SPDX-License-Identifier: MIT. Copyright (c) 2026 Joerg Burbach. */
#ifndef WORM0_H
#define WORM0_H
#include <stddef.h>
#include <stdint.h>
typedef struct { uint8_t *bytes; size_t size; char *name; uint8_t type; } worm0_resource;
int worm0_decode(const uint8_t *, size_t, worm0_resource *);
int worm0_encode(const uint8_t *, size_t, const char *, size_t, uint8_t **, size_t *);
void worm0_free(worm0_resource *);
#endif
