15 lines
433 B
C#
15 lines
433 B
C#
namespace 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);
|
|
}
|
|
}
|