Function
FwupdPlugininput_stream_size
Declaration [src]
gboolean
fu_input_stream_size (
GInputStream* stream,
gsize* val,
GError** error
)
Description [src]
Reads the total possible of the stream.
If stream is not seekable, G_MAXSIZE is used as the size.
| Available since: | 2.0.0 |
Parameters
stream |
GInputStream |
A |
|
| The data is owned by the caller of the function. | |
val |
gsize* |
Size in bytes. |
|
| The argument will be set by the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |