Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Android
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Android
Android equivalent of javax.xml.bind.DatatypeConverter?
W Bird
Greenhorn
Posts: 1
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there an equivalent to javax.xml.bind.DatatypeConverter on Android? I need to convert a
String
of hex to a byte array, like this:
private static final String symKeyHex = "FD010203B40506070F0119020C0D0E1E"; private byte[] symKeyData; symKeyData = DatatypeConverter.parseHexBinary(symKeyHex);
The result of this should be an array of 16 bytes.
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
writing byte array into a file
Byte to String problem
Bit wise ,shift Operators practical usage
problem base64 encoding the 3 hex bytes E2 80 A9
Differnce between new String(Byte[]) and byte[].toString()
More...