mhf-server/Mhf.Server/Common/BufferProvider.cs
2019-11-24 19:43:35 +08:00

20 lines
408 B
C#

using Arrowgene.Services.Buffers;
namespace Mhf.Server.Common
{
public class BufferProvider
{
private static readonly IBufferProvider Provider = new StreamBuffer();
public static IBuffer Provide()
{
return Provider.Provide();
}
public static IBuffer Provide(byte[] data)
{
return Provider.Provide(data);
}
}
}