I have a COW database that uses mmap and the String type seems to either allocate or move when I would like to just have a const pointer/len to memory itself. Is there anything in NTL that can do this?
How about Upp::MemReadStream? If I understand you correctly, this seems to be what you need.