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

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -