Initializes writer with the given initial data size.
Initial size of data
If TRUE the data can't be reallocated
Initializes writer with the given initial data size.