fgetc() is not required to clear the error indicator on success
Merge pull request #191 from Dmitry-Me/dontIgnoreFgetcReturnValue

fgetc() is not required to clear the error indicator on success
Check ftell() result for error code before using it.
Merge pull request #193 from Dmitry-Me/shouldCheckFtellForError

Check ftell() result for error code before using it.
Replace C-style cast with static_cast
Merge pull request #194 from Dmitry-Me/fixCStyleCast

Replace C-style cast with static_cast
Wrap fopen()/fopen_s() calls to avoid duplication
Merge pull request #196 from Dmitry-Me/wrapFopenCalls

Wrap fopen()/fopen_s() calls to avoid duplication
Assert when trying to adjust _start in "needs delete" mode.
Merge pull request #197 from Dmitry-Me/dontAdjustStartWhenNeedsDelete

Assert when trying to adjust _start in "needs delete" mode.
Make code more defensive
* initialize out-parameter for cases the callee fails to
* add assert for length being within range
* replace post-assert with pre-assert

Also replace the loop with an equivalent memcpy() call
Merge branch 'Dmitry-Me-makeCodeMoreDefensive'
Remove obsolete comment
Merge pull request #200 from Dmitry-Me/removeObsoleteComment

Remove obsolete comment