> For the complete documentation index, see [llms.txt](https://ask.simplehw.eu/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ask.simplehw.eu/kb/simple-api-6-generation/api-6-encoding_23396515.md).

# Encoding

In order to compress data as efficiently as possible, we encode it in various ways. On this page, you will find detailed information about data encoding in the API 6 ranging from binary flags to accelerometer data.&#x20;

Examples are included with every encoding.

{% content-ref url="/pages/XukvQI72OlRXwIXZxjhF" %}
[8 binary flags (byte bits)](/kb/simple-api-6-generation/api-6-encoding_23396515/8-binary-flags-byte-bits.md)
{% endcontent-ref %}

{% content-ref url="/pages/CP9skX4kBIy1KoOGdDT8" %}
[SimpleTime](/kb/simple-api-6-generation/api-6-encoding_23396515/simpletime.md)
{% endcontent-ref %}

{% content-ref url="/pages/H7wZCf5DCskzr79427bL" %}
[SimpleTemp](/kb/simple-api-6-generation/api-6-encoding_23396515/simpletemp.md)
{% endcontent-ref %}

{% content-ref url="/pages/55FqOvunpF4Th1Rxa3qy" %}
[Accelerometer Data](/kb/simple-api-6-generation/api-6-encoding_23396515/page-6.md)
{% endcontent-ref %}

{% content-ref url="/pages/3ky8dVVvKMzqWMnGaHCy" %}
[Magnetometer data](/kb/simple-api-6-generation/api-6-encoding_23396515/magnetometer-data.md)
{% endcontent-ref %}
