ensure_free_space


Description:

[ CCode ( cname = "gst_byte_writer_ensure_free_space" ) ]
public bool ensure_free_space (uint size)

Checks if enough free space from the current write cursor is available and reallocates if necessary.

Parameters:

this

ByteWriter instance

size

Number of bytes that should be available

Returns:

true if at least size bytes are still available




2022 vala-language.org