---
title: "System::Buffers::ArrayBufferWriter::get_FreeCapacity method"
url: "https://reference.aspose.com/pdf/cpp/system.buffers/arraybufferwriter/get_freecapacity/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Buffers::ArrayBufferWriter::get_FreeCapacity method. Returns the amount of space available that can still be written into without forcing the underlying buffer to grow in C++."
---

## ArrayBufferWriter::get_FreeCapacity method


Returns the amount of space available that can still be written into without forcing the underlying buffer to grow.

```cpp
int32_t System::Buffers::ArrayBufferWriter<T>::get_FreeCapacity() const
```


### ReturnValue

The free capacity of the underlying buffer.

## See Also

* Class [ArrayBufferWriter](../)
* Namespace [System::Buffers](../../)
* Library [Aspose.PDF for C++](../../../)
