阅读背景:

将char表示为Java中的一个字节

来源:互联网 

I must convert a char into a byte or a byte array. In other languages I know that a char is just a single byte. However, looking at the Java Character class, its min value is \u0000 and its max value is \uFFFF. This makes it seem like a char is 2 bytes long. I must convert a char into a byte or a byte arr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: