BinaryFileInfo
BinaryFileInfo
Metadata computed from parsing a binary file with a given config.
#include <BinaryDatasetPreviewModel.hpp>
Public Attributes
| Name | |
|---|---|
| qint64 | file_size Total file size in bytes. |
| qint64 | data_size Data size (file_size - header_size). |
| qint64 | total_elements Number of elements (data_size / item_size). |
| qint64 | total_rows Number of rows (total_elements / num_channels). |
| int | display_columns Columns shown in table (channels, or channels*bits if bitwise). |
| unsigned int | item_size Bytes per element for the selected data type. |
| qint64 | remainder_bytes Leftover bytes that don’t fit an element. |
Public Attributes Documentation
variable file_size
qint64 file_size = 0;Total file size in bytes.
variable data_size
qint64 data_size = 0;Data size (file_size - header_size).
variable total_elements
qint64 total_elements = 0;Number of elements (data_size / item_size).
variable total_rows
qint64 total_rows = 0;Number of rows (total_elements / num_channels).
variable display_columns
int display_columns = 0;Columns shown in table (channels, or channels*bits if bitwise).
variable item_size
unsigned int item_size = 0;Bytes per element for the selected data type.
variable remainder_bytes
qint64 remainder_bytes = 0;Leftover bytes that don’t fit an element.
Updated on 2026-11-13 at 20:25:39 +0000