Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
编码数据 =(编码数据 | 移位缓冲区)
这一行:
j = j + 1 == key.Length ? 0 : j + 1;
也可以写成:
if ((j+1) == key.Length) j = 0; else j = j+1;