[ Version ( since = "3.24" ) ]
public size_t calculate_decoded_size_sync (Cancellable? cancellable = null) throws Error
Calculates decoded size of the this by saving it to a null-stream and returns how many bytes had been written.
It's using decode_to_stream_sync internally.
this | |
cancellable |
a Cancellable, or null |
how many bytes the this would use when saved, or -1 on error. |