Constructs a buffer.
the threshold of writing value or stores reference.
the default size of chunk for allocation.
See Implementation
Constructs a buffer.