Top | ![]() |
![]() |
![]() |
![]() |
guint8 | fu_firmware_strparse_uint4 () |
guint8 | fu_firmware_strparse_uint8 () |
guint16 | fu_firmware_strparse_uint16 () |
guint32 | fu_firmware_strparse_uint24 () |
guint32 | fu_firmware_strparse_uint32 () |
guint8
fu_firmware_strparse_uint4 (const gchar *data
);
Parses a base 16 number from a string.
The string MUST be at least 1 byte long as this function cannot check the
length of data
. Checking the size must be done in the caller.
Since: 1.3.1
guint8
fu_firmware_strparse_uint8 (const gchar *data
);
Parses a base 16 number from a string.
The string MUST be at least 2 bytes long as this function cannot check the
length of data
. Checking the size must be done in the caller.
Since: 1.3.1
guint16
fu_firmware_strparse_uint16 (const gchar *data
);
Parses a base 16 number from a string.
The string MUST be at least 4 bytes long as this function cannot check the
length of data
. Checking the size must be done in the caller.
Since: 1.3.1
guint32
fu_firmware_strparse_uint24 (const gchar *data
);
Parses a base 16 number from a string.
The string MUST be at least 6 bytes long as this function cannot check the
length of data
. Checking the size must be done in the caller.
Since: 1.3.1