Top "Binary" questions

Binary, the base-2 numeral system, represents numbers using two symbols: 0 and 1. For compiled computer programs, use the "executable" tag instead.

binary protocols v. text protocols

does anyone have a good definition for what a binary protocol is? and what is a text protocol actually? how …

text binary protocols
Read VBA macros (or vbaProject.bin) of an Excel file without opening it in MS Excel

I would like to analyze Excel files, especially those which contain VBA programs inside. because I plan to run this …

vba excel binary bin
Floating Point to Binary Value(C++)

I want to take a floating point number in C++, like 2.25125, and a int array filled with the binary value …

c++ binary floating-point ieee-754
How to modify bits in an integer?

I have an integer with a value 7 (0b00000111) And I would like to replace it with a function to 13 (0b00001101). …

python binary bit
How to get path of the php binary on server where it is located

I am using the exec command as below in PHP : exec("/usr/bin/php /path/to/Notification.php >> /…

php binary installation production-environment installation-path
How does ASN.1 encode an object identifier?

I am having trouble understanding the basic concepts of ASN.1. If a type is an OID, does the corresponding number …

security encoding binary asn.1
Is it safe to use -1 to set all bits to true?

I've seen this pattern used a lot in C & C++. unsigned int flags = -1; // all bits are true Is …

c++ c binary bit-fields
Why doesn't C have binary literals?

I am frequently wishing I could do something like this in c: val1 &= 0b00001111; //clear high nibble val2 |= 0b01000000; //…

c syntax binary literals
Deserializing a byte array

If I wanted to fill a structure from a binary file, I would use something like this: using (BinaryReader br = …

c# binary managed deserialization
C read binary stdin

I'm trying to build an instruction pipeline simulator and I'm having a lot of trouble getting started. What I need …

c binary stdin