Yes ,that is entirely up to you how you wish to return the values. But when you actually count the size of a snippet, you use the algorithm i posted.
Trailing and leading spaces are never accounted for :P, thats just the way its always been.
And what $file().size really is counting, is the additional data windows saves, and not the content itself only.
Just to show what I mean:
(If you look at the acual size, you see its 1 byte)
But then again, several options on how to count would be nice. Definitely a improvement.