lzss_read(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸ’– lzss_read(3) β€” Allegro manual πŸ’–

Okay bestie, welcome to the LZSS decompression corner of the Allegro universe. This page is short but iconic, no cap. πŸ¦‹

🌸 NAME 🌸

lzss_read β€” decompresses data using LZSS. Part of the Allegro game programming library. ✨

🌈 SYNOPSIS 🌈

#include <allegro.h>

int lzss_read(PACKFILE *file, LZSS_UNPACK_DATA *dat, int s, unsigned char *buf);

πŸŽ€ DESCRIPTION πŸŽ€

So the way this works: it unpacks from dat into buf, and it keeps going until either EOF is reached or s bytes have been extracted from file. That's the whole plot. Main character energy, honestly. πŸ’…

πŸ’– RETURN VALUE πŸ’–

It returns the number of bytes added to the buffer buf. That's it. That's the number. Slay. πŸ”₯

🫢 SEE ALSO 🫢


Allegro, version 4.4.3 β€” the footer's date slot is empty, bestie, but the version is right there. Stay decompressed. πŸ’œ

πŸ“¦ where this page comes from