---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/huffmantable
---

# HuffmanTable

## Overview

`HuffmanTable` is a struct in Aspose.Cells FOSS for C++.

This struct declares 2 methods for HuffmanTable objects in C++ programs.
Available methods include: `Build`, `HuffmanTable`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.
Accessor methods: `MaxTableBits`, `TableSize`, `numSymbols`, `valid`.

## Accessor Methods

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `MaxTableBits` | `int` | Read/Write | Gets or sets the max table bits. |
| `TableSize` | `int` | Read/Write | Gets or sets the table size. |
| `valid` | `bool` | Read/Write | Gets or sets the valid. |
| `numSymbols` | `int` | Read/Write | Gets or sets the num symbols. |

## Methods

| Signature | Description |
|-----------|-------------|
| `HuffmanTable()` | Calls HuffmanTable on this HuffmanTable instance. |
| `Build(lengths: uint8_t, count: int)` → `HuffmanTable` | Calls Build(lengths, count) on this HuffmanTable instance. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)