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.

Flask to return image stored in database

My images are stored in a MongoDB, and I'd like to return them to the client, here is how the …

python binary flask
NodeJS write binary buffer into a file

I can't rewrite a file that I am getting from a binary buffer, I have checked with the original file …

node.js binary streamwriter
In Java, can I define an integer constant in binary format?

Similar to how you can define an integer constant in hexadecimal or octal, can I do it in binary? I …

java syntax binary
Really 1 KB (KiloByte) equals 1024 bytes?

Until now I believed that 1024 bytes equals 1 KB (kilobyte) but I was reading on the internet about decimal and binary …

binary byte system decimal bit
Is two's complement notation of a positive number the same number?

Is two's complement notation of a positive number is same as its binary representation?

binary complement
Is there a way to read binary data in JavaScript?

I would like to inject binary data into an object in JavaScript. Is there a way to do this? i.…

javascript binary
How are integers internally represented at a bit level in Java?

I am trying to understand how Java stores integer internally. I know all java primitive integers are signed, (except short?). …

java memory binary store twos-complement
Adding binary numbers

Does anyone know how to add 2 binary numbers, entered as binary, in Java? For example, 1010 + 10 = 1100.

java binary decimal addition
How to analyze binary file?

I have a binary file. I don't know how it's formatted, I only know it comes from a delphi code. …

binary reverse-engineering serialization code-analysis
Is it possible to program in binary?

The title really says it all. A friend of mine told me he knows someone who can program in binary. …

binary