mirror of
https://github.com/RGBCube/serenity
synced 2025-10-29 03:32:34 +00:00
Previously ByteBuffer::grow() behaved like Vector<T>::resize(). However the function name was somewhat ambiguous - and so this patch updates ByteBuffer to behave more like Vector<T> by replacing grow() with resize() and adding an ensure_capacity() method. This also lets the user change the buffer's capacity without affecting the size which was not previously possible. Additionally this patch makes the capacity() method public (again). |
||
|---|---|---|
| .. | ||
| ASN1 | ||
| Authentication | ||
| BigInt | ||
| Checksum | ||
| Cipher | ||
| Hash | ||
| NumberTheory | ||
| PK | ||
| CMakeLists.txt | ||
| Verification.h | ||