Returns the new buffer element index. For example if there were 2 bones and 3 curves, and each bone takes 6 inputs and each curve takes one input, then after calling this base class method, it will return 15 (2*6 + 3*1). You could call this base class method and then write data after that, starting from the offset that is returned.