Rewrote API documentation.

Added text about the size codec functions.