made DualBuffer read only or write only