Function
FwupdPlugininput_stream_read_u64
Declaration [src]
gboolean
fu_input_stream_read_u64 (
GInputStream* stream,
gsize offset,
guint64* value,
FuEndianType endian,
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 |
guint64* |
The parsed value. |
|
| The argument will be set by the function. | |
endian |
FuEndianType |
An endian type, e.g. |
|
error |
GError ** |
The return location for a GError*, or NULL. |