Topic: 数据如何转换

  Print this page

1.数据如何转换 Copy to clipboard
Posted by: lucy6971
Posted on: 2003-06-03 16:08

请问如何将int/long/char等数据转换为byte数组
如何将byte数组转换为int/long/char等数据

2.Re:数据如何转换 [Re: lucy6971] Copy to clipboard
Posted by: fengyifan
Posted on: 2003-06-05 20:55

可以用byteinputstream and datainputstream转换byte[] to int/long.......

3.Re:数据如何转换 [Re: lucy6971] Copy to clipboard
Posted by: archonLing
Posted on: 2003-06-08 13:05

Or you could use the Byte object wrapper. It has methods for type conversion. For char operations, String objects are recommanded. They are a lot more flexiable.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923