Two more ports. Endianness to C++ and remove chars to python.