There is also STB stretchy buffer, popular with game devs.
<a href="https:&#x2F;&#x2F;github.com&#x2F;nothings&#x2F;stb&#x2F;blob&#x2F;master&#x2F;stretchy_buffer.h" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nothings&#x2F;stb&#x2F;blob&#x2F;master&#x2F;stretchy_buffer....</a>