Creates a new heap buffer with an existing byte array.
@param initialArray the initial underlying byte array @param maxCapacity the max capacity of the underlying byte array
See Implementation
Creates a new heap buffer with an existing byte array.
@param initialArray the initial underlying byte array @param maxCapacity the max capacity of the underlying byte array