replaced ntohl and htonl functions (should address #34) replaced the C-style casts by reinterpret casts so that you reinterpret the binary instead of performing an implicit conversion (most of the time there's no difference, but there might be) used templates to prevent the compiler from infering the argument type (so that the programmer always has to explicitly provide the type)
replaced ntohl and htonl functions (should address #34)
replaced the C-style casts by reinterpret casts so that you reinterpret the binary instead of performing an implicit conversion (most of the time there's no difference, but there might be)
used templates to prevent the compiler from infering the argument type (so that the programmer always has to explicitly provide the type)

Megacrafter127/C-StarMadeFileParser,Olxinos/C-StarMadeFileParser