A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
String or Char -> Binary Representation
Joined: Aug 04, 2011
Aug 19, 2011 13:05:40
I don't really know how it works but I wanna convert a
to its binary representation.
It can be done char by char or the whole String at once.
Joined: May 31, 2005
Aug 19, 2011 13:26:46
I believe you're looking for the String.getBytes methods. Be sure to read up on which you need, depending on the encoding of the String.
Also useful would be Integer.toBinaryString.
rocket mass heater
subject: String or Char -> Binary Representation
String to Binary?
Need Help: Recursive Code -- > Loop
Binary to char?
Ques. from JTips Mock 1
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014