<trclass="memdesc:aade6939bd84d33e4869785d7d412d3c7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Block identifier, must be BlockType::DataStreamPayloadBlock (0x4C505344, "DSPL"). <br/></td></tr>
<trclass="memdesc:a1b7498a80a254f1203bb8705221261f8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Data type classification (value from <aclass="el"href="enums_8h.html#ad8ed01ff3ff33333d8e19db4d2818bb6"title="DataType">DataType</a>), e.g., FluxData or BitstreamData. <br/></td></tr>
<trclass="memdesc:ad36cd6ef72854188450049c99b731273"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Uncompressed length in bytes. <br/></td></tr>
<trclass="memdesc:a6b72345551c540a0c36c971f4374eb0e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">CRC64-ECMA checksum of the compressed payload (or same as crc64 if uncompressed). <br/></td></tr>
<trclass="memdesc:aea3724bf5786add9715363dbc67671a8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">CRC64-ECMA checksum of the uncompressed payload. <br/></td></tr>
<divclass="textblock"><p>Header structure for a DataStreamPayloadBlock containing data stream payload. </p>
<p>This structure is the header of a DataStreamPayloadBlock, which contains a generic compressed data stream payload. The payload data immediately follows this header and may be compressed using LZMA compression. Currently used for flux capture data, but can be used for other data streams such as bitstreams or PNG data.</p>
<p><b>Data Type:</b> The dataType field identifies the type of data stored in the payload. Common values include:</p><ul>
<li>FluxData: Flux capture data (data and index buffers)</li>
<li>BitstreamData: Bitstream data This field enables the block to be self-describing and allows validation of the payload content.</li>
</ul>
<p><b>Compression:</b> The compression field indicates whether the payload is compressed:</p><ul>
<li>0 (None): Payload is stored uncompressed</li>
<li>1 (Lzma): Payload is compressed using LZMA, with LZMA properties stored in the first 5 bytes of the compressed data</li>
</ul>
<p><b><aclass="el"href="structChecksums.html"title="Collected whole‑image checksums / hashes present in a checksum block.">Checksums</a>:</b> Two CRC64 checksums are stored:</p><ul>
<li>cmpCrc64: Checksum of the compressed payload (or same as crc64 if uncompressed)</li>
<li>crc64: Checksum of the uncompressed payload</li>
</ul>
<p>Both checksums are validated when reading the payload to ensure data integrity.</p>
<p><b>Payload Layout:</b> The uncompressed payload is an arbitrary stream of binary data. For flux captures, this consists of concatenated data and index buffers: [data_buffer][index_buffer], with the indexOffset from the corresponding <aclass="el"href="structFluxEntry.html"title="Metadata entry describing a single flux capture in the FluxDataBlock.">FluxEntry</a> indicating where the index buffer starts. For other data types, the layout is specific to the data type.</p>
<dlclass="section note"><dt>Note</dt><dd>The identifier field must match BlockType::DataStreamPayloadBlock (0x4C505344, "DSPL"). </dd>
<dd>
If compression is Lzma, cmpLength includes the 5-byte LZMA properties header. </dd></dl>
<pclass="definition">Definition at line <aclass="el"href="flux_8h_source.html#l00242">242</a> of file <aclass="el"href="flux_8h_source.html">flux.h</a>.</p>
<p>CRC64-ECMA checksum of the compressed payload (or same as crc64 if uncompressed). </p>
<pclass="definition">Definition at line <aclass="el"href="flux_8h_source.html#l00249">249</a> of file <aclass="el"href="flux_8h_source.html">flux.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="flux_8c_source.html#l01258">aaruf_read_flux_capture()</a>, and <aclass="el"href="close__write_8c_source.html#l04609">write_flux_capture_payload()</a>.</p>
<p>Compressed length in bytes (includes LZMA properties if compression = Lzma). </p>
<pclass="definition">Definition at line <aclass="el"href="flux_8h_source.html#l00247">247</a> of file <aclass="el"href="flux_8h_source.html">flux.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="flux_8c_source.html#l01258">aaruf_read_flux_capture()</a>, and <aclass="el"href="close__write_8c_source.html#l04609">write_flux_capture_payload()</a>.</p>
<pclass="definition">Definition at line <aclass="el"href="flux_8h_source.html#l00246">246</a> of file <aclass="el"href="flux_8h_source.html">flux.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="flux_8c_source.html#l01258">aaruf_read_flux_capture()</a>, and <aclass="el"href="close__write_8c_source.html#l04609">write_flux_capture_payload()</a>.</p>
<p>CRC64-ECMA checksum of the uncompressed payload. </p>
<pclass="definition">Definition at line <aclass="el"href="flux_8h_source.html#l00250">250</a> of file <aclass="el"href="flux_8h_source.html">flux.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="flux_8c_source.html#l01258">aaruf_read_flux_capture()</a>, and <aclass="el"href="close__write_8c_source.html#l04609">write_flux_capture_payload()</a>.</p>
<p>Data type classification (value from <aclass="el"href="enums_8h.html#ad8ed01ff3ff33333d8e19db4d2818bb6"title="DataType">DataType</a>), e.g., FluxData or BitstreamData. </p>
<pclass="definition">Definition at line <aclass="el"href="flux_8h_source.html#l00245">245</a> of file <aclass="el"href="flux_8h_source.html">flux.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="flux_8c_source.html#l00851">read_flux_payload_header()</a>, and <aclass="el"href="close__write_8c_source.html#l04609">write_flux_capture_payload()</a>.</p>
<p>Block identifier, must be BlockType::DataStreamPayloadBlock (0x4C505344, "DSPL"). </p>
<pclass="definition">Definition at line <aclass="el"href="flux_8h_source.html#l00244">244</a> of file <aclass="el"href="flux_8h_source.html">flux.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="flux_8c_source.html#l00851">read_flux_payload_header()</a>, and <aclass="el"href="close__write_8c_source.html#l04609">write_flux_capture_payload()</a>.</p>
<pclass="definition">Definition at line <aclass="el"href="flux_8h_source.html#l00248">248</a> of file <aclass="el"href="flux_8h_source.html">flux.h</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="flux_8c_source.html#l01258">aaruf_read_flux_capture()</a>, and <aclass="el"href="close__write_8c_source.html#l04609">write_flux_capture_payload()</a>.</p>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.16.1 </li>