Converting hashmap from integer to string and adding method signedbinarytodecimal