BitWriter.initWithSize

Initializes a gst.BitWriter.BitWriter instance and allocates the given data size.

class BitWriter
void
initWithSize
(
uint size
,
bool fixed
)

Parameters

size uint

the size on bytes to allocate for data

fixed bool

If TRUE the data can't be reallocated