Add length write overload for a Source.

This is merely a convenience method for semantic clarity and/or to prevent callers from needed to use the underlying buffer directly.