---
title: "System::Buffers::ArrayBufferWriter::get_Capacity method"
url: "https://reference.aspose.com/pdf/cpp/system.buffers/arraybufferwriter/get_capacity/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Buffers::ArrayBufferWriter::get_Capacity method. Returns the total amount of space within the underlying buffer in C++."
---

## ArrayBufferWriter::get_Capacity method


Returns the total amount of space within the underlying buffer.

```cpp
int32_t System::Buffers::ArrayBufferWriter<T>::get_Capacity() const
```


### ReturnValue

The total capacity of the underlying buffer.

## See Also

* Class [ArrayBufferWriter](../)
* Namespace [System::Buffers](../../)
* Library [Aspose.PDF for C++](../../../)
