FurinaImpact/FurinaImpact.Kcp/IKcpBufferPool.cs

16 lines
441 B
C#
Raw Permalink Normal View History

2023-12-09 03:45:08 +00:00
namespace FurinaImpact.Kcp
{
/// <summary>
/// The buffer pool to rent buffers from.
/// </summary>
public interface IKcpBufferPool
{
/// <summary>
/// Rent a buffer using the specified options.
/// </summary>
/// <param name="options">The options used to rent this buffer.</param>
/// <returns></returns>
KcpRentedBuffer Rent(KcpBufferPoolRentOptions options);
}
}