free package:streamly-core

Makes an immutable array using the underlying memory of the mutable array. Please make sure that there are no other references to the mutable array lying around, so that it is never used after freezing it using unsafeFreeze. If the underlying array is mutated, the immutable promise is lost. Pre-release
Similar to unsafeFreeze but uses rightSize on the mutable array first.
The remaining capacity in the array for appending more elements without reallocation. Pre-release