buffer: allow chaining number writing methods