Creates a new heap buffer with a newly allocated byte array.
@param initialCapacity the initial capacity of the underlying byte array @param maxCapacity the max capacity of the underlying byte array
See Implementation
Creates a new heap buffer with a newly allocated byte array.
@param initialCapacity the initial capacity of the underlying byte array @param maxCapacity the max capacity of the underlying byte array