mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
14 lines
416 B
C#
14 lines
416 B
C#
namespace EggLink.DanhengServer.Kcp.KcpSharp;
|
|
|
|
/// <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);
|
|
} |