Implementation of ReadBlockWrite.