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.