Changeset 22:ad3d8242e8a1 in vscpl
- Timestamp:
- 06/18/15 18:00:47 (10 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hu/varadiistvan/scpl/io/DataStream.cc
r10 r22 45 45 46 46 uint8_t d = 0; 47 unsigned shift = 0; 47 48 do { 48 49 d = readU8(); 49 length <<= 7;50 length |= d&0x7f;50 length |= static_cast<size_t>(d&0x7f)<<shift; 51 shift += 7; 51 52 } while( (d&0x80)==0x80 ); 52 53
Note:
See TracChangeset
for help on using the changeset viewer.