<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: javascript code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 05 Oct 2008 22:18:35 GMT</pubDate>
    <description>DZone Snippets: javascript code</description>
    <item>
      <title>Bitwise Operation: Quickly Convert Binary Bit to Integer and vice versa using Javascript Shell</title>
      <link>http://snippets.dzone.com/posts/show/4740</link>
      <description>using JavaScript shell found at www.squarefree.com/shell/ , it's very easy to convert binary bit to integer and vice versa&lt;br /&gt;&lt;br /&gt;convert integer to binary bit string&lt;br /&gt;&lt;code&gt;&lt;br /&gt;num = 1024&lt;br /&gt;num.toString(2)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;convert binary bit string to integer&lt;br /&gt;&lt;code&gt;&lt;br /&gt;parseInt('111', 2)&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Wed, 07 Nov 2007 05:56:13 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4740</guid>
      <author>agilekai (kai)</author>
    </item>
  </channel>
</rss>
