public ByteBlockBuffer()
 {
     LinkedList = new LinkedList <byte[]>();
     LinkedList.AddFirst(GetBlock());
     Reader = new ReadOperator(this);
     Writer = new WriteOperator(this);
 }
Beispiel #2
0
 public ByteBlockBuffer(int size = 1 << 16)
 {
     Size       = size;
     LinkedList = new LinkedList <byte[]>();
     LinkedList.AddFirst(CreateBlock());
     Reader = new ReadOperator(this);
     Writer = new WriteOperator(this);
 }