Changeset 305 in pacpusframework for branches/0.1.x/include
- Timestamp:
- Apr 11, 2014, 1:34:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.1.x/include/Pacpus/PacpusTools/BinaryDecoder.h
r295 r305 776 776 c = data[startBit>>3]; // >>3 <=> div 8 777 777 //c >>= (8-((startBit & 0x07)+1)); // &0x07 <=> modulo 8 778 c >>= startBit & 0x07- (length - 1); // &0x07 <=> modulo 8778 c >>= (startBit & 0x07) - (length - 1); // &0x07 <=> modulo 8 779 779 *result = c & getMask8( length ); 780 780
Note:
See TracChangeset
for help on using the changeset viewer.