Hi all, happy new year, ^_^.
When I read byte from socket, I used a size-fixed byte, init with 0. After socket reading, the byte filled with a srting that sever had written, then i create a String with constructor String(byte), and the problem hapend,
the cunstructor will not change 0 to 0, I mean, the string end '\0' disapeard. It will change 0('\0') to a NOT null value.