Example #1
0
 public void CreatePooledBuffer()
 {
     bufPool = new ByteBufPool(1024, ByteBufPool.DefaultChunkOrder, false);
     if (SocketFactory.IsRioSockSupported())
     {
         unsafeBufPool = new ByteBufPool(1024, ByteBufPool.DefaultChunkOrder, true);
     }
 }
Example #2
0
 public void CreatePooledBuffer()
 {
     managedBufPool = new ByteBufPool(1024, 2, false);
     unsafeBufPool  = new ByteBufPool(1024, 2, true);
 }
 public void CreatePooledBuffer()
 {
     bufPool = new ByteBufPool(1024, 2, false);
 }