read/write in dbuffer