Optional returns nrOfBytes written

For sequential writing: all setters resturn the nr of bytes written.