aspose file tools
The moose likes Beginning Java and the fly likes BigInteger.toByteArray Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "BigInteger.toByteArray" Watch "BigInteger.toByteArray" New topic
Author

BigInteger.toByteArray

Prosenjit Banerjee
Greenhorn

Joined: May 04, 2001
Posts: 20
Javaranch is the BEST. I never seen before such a good site. THANKS JAVARANCH.COM.
Anyone please let me understand the process of converting a byte array to BigInteger BigInteger(byte arr[]) and converting a BigInteger to a byte array BigInteger.toByteArray().
Thanks in advance.
Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi Prosenjit,
Here's an example.

Hope that helps. I'm going to move this over to Java Beginner's as it's not related to Certification Study.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform


Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: BigInteger.toByteArray
 
Similar Threads
Writing byte array to xml in Java
BigInteger.toByteArray
StringBuffer
Multiplying Byte Arrays.
writing 4 byte little-endian long integers