Add Compress() and Uncompress() to redbean

This commit is contained in:
Justine Tunney 2022-05-16 16:49:20 -07:00
parent 59b6ae1cbd
commit 8bfb70ca3f
9 changed files with 218 additions and 23 deletions

View file

@ -36,7 +36,7 @@
* @param x is number
* @return p + i
*/
char *uleb64(char *p, uint64_t x) {
char *uleb64(char p[hasatleast 10], uint64_t x) {
int c;
for (;;) {
c = x & 127;