Little optimize + add example for UTFBytes

writeUTF call writeUTFBytes
add example for UTFBytes on main.cpp
delete useless comment