About 59,000 results
Open links in new tab
  1. python - Convert hex to binary - Stack Overflow

    Sep 15, 2009 · What you are actually saying is that you have a value in a hexadecimal representation, and you want to represent an equivalent value in binary. The value of …

  2. convert hex to binary in javascript - Stack Overflow

    You can create a function converting a hex number to binary with something like this : function hex2bin(hex){ return ("00000000" + (parseInt(hex, 16)).toString(2)).substr(-8); } For formatting …

  3. C# how convert large HEX string to binary - Stack Overflow

    Jul 7, 2011 · I have a string with 14 characters . This is a hex represantation of 7bytes. I want to convert it to binary. I tried using Convert.ToString(Convert.ToInt32(hexstring, 16), 2); For small …

  4. How can I print a binary value as hex in TSQL? - Stack Overflow

    Sep 16, 2008 · Adding an answer which shows another example of converting binary data into a hex string, and back again. i want to convert the highest timestamp value into varchar:

  5. Convert strings between hex format and binary format

    Aug 19, 2013 · 14 Is there any utility or library provides a simple function to convert a string between hex/binary format? I've been searching on SO and currently using look-up table …

  6. Convert hexadecimal string (hex) to a binary string

    I found the following way hex to binary conversion: String binAddr = Integer.toBinaryString(Integer.parseInt(hexAddr, 16)); While this approach works for small hex …

  7. Hex to Binary conversion in bash - Stack Overflow

    I'm trying to convert a series of bytes from hex to bin using bash. but I keep getting (seemingly random) "(standard_in) 1: syntax error" replies from the following code: for j in c4 97 91 8c 85 8...

  8. shell - How to convert a text file containing hexadecimal to binary ...

    15 I have hex code of a binary in text (string) format. How do I convert it to a binary file using linux commands like cat and echo ? I know command following command with create a binary …

  9. Transform hexadecimal information to binary using a Linux …

    And I need to find out that same exact binary information from this hexdump. How can I proceed for that? If there isn't any switch for that then C code will also work fine. (But a Linux command …

  10. c# hex to bit conversion - Stack Overflow

    I'm trying to convert the hexadecimal representation of a 64-bit number (e.g., the string "FFFFFFFFF") to binary representation ("11111..."). I've tried string result = Convert.