LaurentGomila/SFML — Issue #118: sf::Packet::operator<<(const char*) should use strlen
Author: Fanael
Created: 2011-10-31 10:18:35+00:00
State: open

Currently it uses hand-written code that calculates the length of a string. Is there any particular reason to do that? `strlen` is faster to write, it's arguably more readable, it most probably runs faster, it's generally better.
Same goes for `sf::Packet::operator<<(const wchar_t*)` and `wcslen`.