mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-27 22:00:23 -04:00
15 lines
270 B
C#
15 lines
270 B
C#
using System.Buffers;
|
|
|
|
namespace AssetStudio
|
|
{
|
|
public static class BigArrayPool<T>
|
|
{
|
|
public static ArrayPool<T> Shared { get; }
|
|
|
|
static BigArrayPool()
|
|
{
|
|
Shared = ArrayPool<T>.Create(256 * 1024 * 1024, 5);
|
|
}
|
|
}
|
|
}
|