Initializes a newly allocated mem with the given parameters. This function will call MiniObject.init with the default memory parameters.
GstMemoryFlags
the gstreamer.Allocator
the parent of mem
the total size of the memory
the alignment of the memory
The offset in the memory
the size of valid data in the memory
Initializes a newly allocated mem with the given parameters. This function will call MiniObject.init with the default memory parameters.