Results 1 to 5 of 5
- 02-17-2010, 10:32 AM #1
Member
- Join Date
- Feb 2010
- Posts
- 9
- Rep Power
- 0
- 02-17-2010, 10:37 AM #2
Java Code:new String(buf).toCharArray();
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 02-17-2010, 10:37 AM #3
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 8
As I said here
Why use getBytes? Why don't you use toCharArray? In any case, the easiest way (although not necessarily the most effecient) is to do;-) PhilJava Code:new String(byte[]).toCharArray()
- 09-13-2011, 11:22 AM #4
Member
- Join Date
- Sep 2011
- Posts
- 3
- Rep Power
- 0
Re: convert byte array into char array
can any1 tell me how to convert char[] array into byte[]...?
Thanks.
- 09-13-2011, 11:32 AM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
Re: convert byte array into char array
When people rob a bank they get a penalty; when banks rob people they get a bonus.
Similar Threads
-
Convert Char Array to String Array
By Mayur in forum New To JavaReplies: 8Last Post: 10-12-2009, 11:41 AM -
How Convert a Byte array to a image format
By perlWhite in forum New To JavaReplies: 2Last Post: 08-23-2009, 08:11 PM -
How Convert a Byte array to a image format
By perlWhite in forum Advanced JavaReplies: 1Last Post: 08-22-2009, 07:05 PM -
String array to byte array?!
By Joe2003 in forum Advanced JavaReplies: 5Last Post: 02-28-2009, 06:09 AM -
Anyone know how to take info from a txt file and convert it to a char array?
By 2potatocakes in forum New To JavaReplies: 9Last Post: 09-11-2008, 02:51 AM


LinkBack URL
About LinkBacks


Bookmarks