Enable extra and pedantic warnings. Fix Get().
Use C++ style inclusions for standard C lib
Fix redundant assignment of mLength
Refactor & simplify to pointer-based version.
Make format more consistant (hopefully!)
Get rid of C-style casts; more formatting.