Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.42 KB | None | 0 0
  1.             num1 := stream.ReadByte;
  2.             num2 := 0;
  3.             if ((num1 and $80) = 0) then
  4.                 num2 := num1
  5.             else
  6.                 if ((num1 and $80) = $80) then
  7.                     num2 := (((num1 and $3f) shl 8) + stream.ReadByte)
  8.                 else
  9.                     num3 := (((((num1 and $1f) shl $18) + (stream.ReadByte shl $10)) + (stream.ReadByte shl 8)) + stream.ReadByte);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement