Nbuff.data

return immutable continuous view to this whole nbuff. Data copy: We can avoid data copy if this nbuff store single immutable chunk. Then we just return ref to this chunk We can't avoid data copy if nbuff span several chunks. Then we have to join them.

  1. NbuffChunk data(size_t beg, size_t end)
  2. NbuffChunk data()
    struct Nbuff
    @safe @nogc
    data
    ()

Meta