This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

BinHex Conversion

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hiya,
Im pulling a networkAddress value from an LDAP server using JNDI which is being returned in what appears to be binary ??? I think I need to do a conversion to hex to get the network address as a string to match on!! Has anyone any ideas on a class that can do this binhex conversion - Ive tried to write the algorithm but, truth be known, Im a web designer and its beyond me........
Any help much appreciated
Mike
 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mike Br:
Hiya,
Im pulling a networkAddress value from an LDAP server using JNDI which is being returned in what appears to be binary ??? I think I need to do a conversion to hex to get the network address as a string to match on!! Has anyone any ideas on a class that can do this binhex conversion - Ive tried to write the algorithm but, truth be known, Im a web designer and its beyond me........
Any help much appreciated
Mike



Biniary as in a character string made up of zeros and ones?
 
Mike Br
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hiya, thanks for the reply.........ive just figured it i think...........what Im getting back is sometimes formatteed
"squarebox, squarebox,hash, 1"
or something like that.....other times (normally its just 1#.........)
i think it may be an array of network addresses - how the hell can I look at them as theyre just an attibute object??
thanks again,
mike
 
Be reasonable. You can't destroy everything. Where would you sit? How would you read a tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic