Top "Hex" questions

Hexadecimal (also base 16, or hex) is the base-16 positional numeral system, using the 16 symbols 0–9 and A‒F.

How to convert a hex string to an unsigned long?

I have following hex value CString str; str = T("FFF000"); How to convert this in to an unsigned long?

c++ mfc hex data-conversion unsigned-long-long-int
C - Convert long int to signed hex string

MASSIVE EDIT: I have a long int variable that I need to convert to a signed 24bit hexadecimal string without …

c integer hex typeconverter
In SQL Server, replace a Char(0), the null character, embedded in a string with its hex code

What is a construct in SQL Server T-SQL that will replace a Char(0), the null character, embedded in a string …

sql-server replace hex nul
ASCII with odd parity

Consider a data communications system that represents characters using ASCII with odd parity. Each 7-bit ASCII character is followed by …

binary hex ascii error-detection parity
decoding shift-jis: "illegal multibyte sequence"

I'm trying to decode a shift-jis encoded string, like this: string.decode('shift-jis').encode('utf-8') to be able to …

python encoding hex decode shift-jis
Kotlin parse Hex String to Long

I am starting to work in Kotlin and I need to parse a hex String to a long, which in …

hex kotlin long-integer
How to print a signed integer as hexadecimal number in two's complement with python?

I have a negative integer (4 bytes) of which I would like to have the hexadecimal form of its two's complement …

python integer hex signed twos-complement
Xamarin.Forms.Color to hex value

I have a Xamarin.Forms.Color and I want to convert it to a 'hex value'. So far, I haven't …

c# xamarin colors xamarin.forms hex
hexadecimal floating constant in C

0x0.3p10 represents what value? And what's the meaning of the p in the statement above?

c constants hex
Viewing blob data as a hexdump with ASCII in the sqlite3 console

I have a column of data in a SQLite table being stored as a blob. Specifically, it is a serialized …

sqlite hex hexdump