Description

Grow grows the buffer's capacity, if necessary, to guarantee space for another n bytes. After Grow(n), at least n bytes can be written to the buffer without another allocation. If n is negative, Grow will panic. If the buffer can't grow it will panic with ErrTooLarge.

Grow is referenced in 252 repositories

github.com/golang/go github.com/A2B-Bikeshare/go-flux github.com/go-mup/mup

...