Add a serialization test

This commit is contained in:
Ammar Askar committed 2015-04-03 08:06:20 +05:00
1 parent a073ee35d8
commit 08e126188a
3 files changed
+44 -1

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ class VarInt(Type):
@staticmethod
def send(value, socket):
out = ""
out = bytes()
while True:
byte = value & 0x7F
value >>= 7