Results 1 to 2 of 2
  1. #1
    Umesh Joshi is offline Member
    Join Date
    Nov 2012
    Posts
    1
    Rep Power
    0

    Post Bit Array to Byte Array in java

    How do i convert a BitArray( Bit Set in Java) to Byte Array. There is a functionality in JDK 1.7 to do the same. But there is a constraint here that i have to use JDK 1.4 and in JDK 1.4 there is no such functionality. It is need to be done on very urgent basis. Please help me out with a consolidate solution. My client has hanged sword over my neck...

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,513
    Blog Entries
    7
    Rep Power
    20

    Default Re: Bit Array to Byte Array in java

    Quote Originally Posted by Umesh Joshi View Post
    How do i convert a BitArray( Bit Set in Java) to Byte Array. There is a functionality in JDK 1.7 to do the same. But there is a constraint here that i have to use JDK 1.4 and in JDK 1.4 there is no such functionality. It is need to be done on very urgent basis. Please help me out with a consolidate solution. My client has hanged sword over my neck...
    1) You didn't negotiate well enough before you signed that contract;
    2) JDK 1.4 is dead as a doornail;
    3) You have to specify if bit #0 is the least significant bit in a byte or not;
    4) Inform the police about the behaviour of your client;
    5) 9.981 points on the drama-o-meter for your post.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Replies: 1
    Last Post: 10-21-2011, 11:55 AM
  2. convert byte array into char array
    By kgkamaraj in forum New To Java
    Replies: 4
    Last Post: 09-13-2011, 11:32 AM
  3. String Array to a Byte Array?
    By lazarus1410 in forum Advanced Java
    Replies: 1
    Last Post: 12-03-2010, 08:25 AM
  4. byte array.....
    By harsha.udupa2008 in forum New To Java
    Replies: 1
    Last Post: 04-27-2010, 12:33 PM
  5. String array to byte array?!
    By Joe2003 in forum Advanced Java
    Replies: 5
    Last Post: 02-28-2009, 06:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •