Add offset to buffer write.