Oracle has operation that can work with bit (RAW) variables.
U should convert ur source variable into RAW datatype and than u may use
bit operations.

See:
http://download-east.oracle.com/otnd...raw.htm#998101