String轉byte 數組????
byte []buffer=new byte[1024];String str=new String(buffer);
這樣不就可以實現字節數組和字符串的轉換了么?
byte []buf= str.getBytes();
change String to byte.
posted on 2008-03-21 16:20 youngturk 閱讀(2732) 評論(0) 編輯 收藏 所屬分類: 個人隨筆總結
posted on 2008-03-21 16:20 youngturk 閱讀(2732) 評論(0) 編輯 收藏 所屬分類: 個人隨筆總結
只有注冊用戶登錄后才能發表評論。 | ||
![]() |
||
網站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
|
||
相關文章:
|
||