Ensures buffer has enough capacity to hold specified length but does not modify effective length.
length to extend capacity to
See Implementation
Ensures buffer has enough capacity to hold specified length but does not modify effective length.