示例#1
0
 public void AutoDisposeBufferReferenceTests()
 {
     BufferReferenceTests.TestAutoOwnedBuffer(() => {
         return(new AutoDisposeBuffer <byte>(new byte[1024]));
     });
 }
示例#2
0
 public void AutoPooledBufferReferenceTests()
 {
     BufferReferenceTests.TestAutoOwnedBuffer(() => {
         return(new AutoPooledBuffer(1024));
     });
 }