Function
FwupdPlugininput_stream_read_u8
Declaration [src]
gboolean
fu_input_stream_read_u8 (
GInputStream* stream,
gsize offset,
guint8* value,
GError** error
)
Description [src]
Read a value from a stream using a specified endian in a safe way.
| Available since: | 2.0.0 |
Parameters
stream |
GInputStream |
A |
|
| The data is owned by the caller of the function. | |
offset |
gsize |
Offset in bytes into |
|
value |
guint8* |
The parsed value. |
|
| The argument will be set by the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |