Modified input stream to byte-based
Modified processCommand - integer and float