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