c# - Reverse Bitwise operator -


i've had search, spent few hours of wasted time , can't simple bit shift in reverse :(

dim result = value >> 8 , &hff 

i have existing code reads value (an uint16) file, bit shift it. trying reverse of can saved , read using existing code above.

i've read in bit shifting , read great code project article may in latin.

uint16 tt = 12123; //10111101011011 int aa = tt >> 8 & 0xff; //101111 = 47 

8 bits disappeared. can never back.


Popular posts from this blog

javascript - Js, document.getElementById("ID").innerHTML, error -

jquery - jqGrid update specific column data with out refreshing the entire column? -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -