dmi_decoder_get_string
Synopsis
#include <opendmi/decoder.h>
bool dmi_decoder_get_string(dmi_decoder_t *decoder, const char **value);
Description
The dmi_decoder_get_string function reads the number a string is referred
to by and looks the string up among the ones of the structure.
A reference to no string gives nullptr, and so does a reference to a
string the structure does not carry, which raises an error of its own.
Return value
true if the reference has been read, false if there are not enough bytes
remaining, or on error.