Buffer.isMemoryRangeWritable
bool isMemoryRangeWritable(uint idx, int length)Checks 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.
Parameters
idx | an index |
length | a length, should not be 0 |
Returns
true if the memory range is writable