code: def from_memdb(buffer):
          
          buffer = to_bytes(buffer)
          return View._from_ptr(rustcall(
              _lib.lsm_view_from_memdb,
              buffer, len(buffer)))
docs: Creates a sourcemap view from MemDB bytes.