---
title: "System::Buffers::ArrayPool::Rent method"
url: "https://reference.aspose.com/pdf/cpp/system.buffers/arraypool/rent/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Buffers::ArrayPool::Rent method. Obtains a buffer that is at least minimumLength long in C++."
---

## ArrayPool::Rent method


Obtains a buffer that is at least **minimumLength** long.

```cpp
ArrayPtr<T> System::Buffers::ArrayPool<T>::Rent(int32_t minimumLength)
```

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [ArrayPool](../)
* Namespace [System::Buffers](../../)
* Library [Aspose.PDF for C++](../../../)
