Changeset 202 for trunk/Packages/CoolStreaming/UVarBlockSerializer.pas
- Timestamp:
- May 17, 2018, 5:41:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CoolStreaming/UVarBlockSerializer.pas
r185 r202 191 191 // Get bit length 192 192 Length := SizeOf(QWord) * BitAlignment; 193 while (( (Value shr Length) and 1) = 0) and (Length > 0) do193 while ((Value and (QWord(1) shl (Length - 1))) = 0) and (Length > 0) do 194 194 Dec(Length); 195 195 Inc(Length);
Note:
See TracChangeset
for help on using the changeset viewer.