ByteWriter.initWithSize

Initializes writer with the given initial data size.

class ByteWriter
void
initWithSize
(
uint size
,
bool fixed
)

Parameters

size uint

Initial size of data

fixed bool

If TRUE the data can't be reallocated