阅读背景:

Java String类型数据转为Byte数据

来源:互联网 
方式一

我们可以直接通过Byte.decode()方式直接转化内

String str = "1"; Byte decode = Byte.decode(str); System.out.println(decode); 方式二 String str = "1"



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

分享到: