dmi_decoder_get_binary
Synopsis
#include <opendmi/decoder.h>
bool dmi_decoder_get_binary(
dmi_decoder_t *decoder,
size_t length,
dmi_binary_t *value);
Description
The dmi_decoder_get_binary function refers to length bytes of the
structure at the current position and advances the cursor.
The bytes belong to the buffer the structure has been decoded from and stay valid for as long as it holds them, which is how a structure carries whatever data the framework does not decode without holding a copy of it.