updated readme to use reinterpret_cast as statis_cast to unsigned isn't always valid