Can you barcode code in a bar?
GolfScript, 30 characters
.-1%]$1=3&gt;7/);{{1&amp;}%2base}%&quot;&quot;+

Input is provided on STDIN. Example:
&gt; 1011000001100001010000111001
ABC

&gt; 1001110000101000011000001101
ABC