# otLogHexDumpInfo Struct Reference

# otLogHexDumpInfo


`#include <openthread/logging.h>`

Represents information used for generating hex dump output.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-log-hex-dump-info#structot_log_hex_dump_info_1ac7a62d2748a25e6e98d5307345060712` | `const uint8_t *` The data byes. |
| `https://openthread.io/reference/struct/ot-log-hex-dump-info#structot_log_hex_dump_info_1adc46cc69786b334051e359d0b6da592e` | `uint16_t` The data length (number of bytes in `mDataBytes`) |
| `https://openthread.io/reference/struct/ot-log-hex-dump-info#structot_log_hex_dump_info_1a2b450fa4da2dcb6493ad07c7819ed480` | `uint16_t` Iterator used by OT stack. MUST be initialized to zero. |
| `https://openthread.io/reference/struct/ot-log-hex-dump-info#structot_log_hex_dump_info_1adf09911b9885af44c69d63a65fb19824[73]` | `char` Buffer to output one line of generated hex dump. |
| `https://openthread.io/reference/struct/ot-log-hex-dump-info#structot_log_hex_dump_info_1a5e9597dd16669dda8561aa8873e92ced` | `const char *` Title string to add table header (MUST NOT be `NULL`). |

## Public attributes

### mDataBytes

```
const uint8_t * otLogHexDumpInfo::mDataBytes
```
The data byes.

### mDataLength

```
uint16_t otLogHexDumpInfo::mDataLength
```
The data length (number of bytes in `mDataBytes`)

### mIterator

```
uint16_t otLogHexDumpInfo::mIterator
```
Iterator used by OT stack. MUST be initialized to zero.

### mLine

```
char otLogHexDumpInfo::mLine[73]
```
Buffer to output one line of generated hex dump.

### mTitle

```
const char * otLogHexDumpInfo::mTitle
```
Title string to add table header (MUST NOT be `NULL`).

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).