buffer: return `this` in write*Int/Float/Double methods for chainability

Return something useful for chaining purposes.