Questions tagged as 'bit'

1
answer

What is bit-a-bit operation?

I have read some things here in Stack Overflow, but I did not quite understand it. What is bit-to-bit operation? For example, in the context:    Given the bit-to-bit operation 15 ^ 3, the result will be:     
asked by 16.07.2018 / 21:31
2
answers

Bitwise Right operator [duplicate]

Hello By doing some studies on PHP I came across bitwise and until then all its operations have not been anything difficult, just the right shift An example that I picked up and still did not understand was this: print(4>>6); //o...
asked by 05.08.2016 / 01:22
1
answer

Socket hex with checksum

I'm developing a communication socket between a crawler and the server. The socket is in perfect working order. My problem is with communication when checking the checksum. The device sends a message ranging from 0 to 200 bytes to the server...
asked by 01.12.2017 / 18:17
2
answers

How to isolate higher order bits and lower order bits in C / C ++?

I need to create two functions One receives an integer value and returns another containing only the 8 lowest-order bits of the original value, with the other bits set to zero. The other receives an integer value and returns another cont...
asked by 11.01.2018 / 15:47