tinyimg 1.0.0
Lightweight image manipulation library for Cloudflare Workers
Loading...
Searching...
No Matches
TinyLzwTable Struct Reference

The dictionary a stream builds as it is read. More...

#include <lzw.h>

Public Attributes

uint16_t prefix [TINY_LZW_CODES]
uint8_t suffix [TINY_LZW_CODES]
uint8_t first [TINY_LZW_CODES]

Detailed Description

The dictionary a stream builds as it is read.

Held by the caller because it is 12 KiB and both callers already have an arena open when they need one.

Member Data Documentation

◆ first

uint8_t TinyLzwTable::first[TINY_LZW_CODES]

The first byte of this entry's whole expansion.

◆ prefix

uint16_t TinyLzwTable::prefix[TINY_LZW_CODES]

The code this entry extends, or 0xFFFF for a root symbol.

◆ suffix

uint8_t TinyLzwTable::suffix[TINY_LZW_CODES]

The byte this entry appends to its prefix.


The documentation for this struct was generated from the following file: