Exemplo n.º 1
0
 public void CreateNew()
 {
     Release();
     _buffer = BufferManagerFactory.CreateInMemory();
     InitBuffer();
 }
Exemplo n.º 2
0
 public void AttachToBuffer(byte[] buffer, int startIndex = 0, int length = 0)
 {
     _buffer = BufferManagerFactory.CreateInMemory(buffer.Skip(startIndex).Take(length == 0 ? buffer.Length : length));
     InitBuffer();
 }