Source
βx
β
for (sum = i = 0; i < 11; i++) {
sum = (((sum&1)<<7)|((sum&0xfe)>>1)) + name[i]
}
β
3) If there is free space in the final slot, a Unicode NULL (0x0000)
is stored after the final character. After that, all unused
characters in the final slot are set to Unicode 0xFFFF.
β
Finally, note that the extended name is stored in Unicode. Each Unicode
character takes two bytes.
character takes either two or four bytes, UTF-16LE encoded.