API cleanup.

- Renamed the size codec functions to have a "size" as a prefix.
- Renamed the "s" argument to "src", for symmetry with "dst" and also clearer than "s".
Tweaked documentation for renamed size codec functions.