Buffer.isMemoryRangeWritable

Check if @length memory blocks in @buffer starting from @idx are writable.

@length can be -1 to check all the memory blocks after @idx.

Note that this function does not check if @buffer is writable, use gst_buffer_is_writable() to check that if needed.

class Buffer
bool
isMemoryRangeWritable
(
uint idx
,
int length
)

Parameters

idx uint

an index

length int

a length should not be 0

Return: %TRUE if the memory range is writable

Meta