Add a serialization test
This commit is contained in:
1 parent
a073ee35d8
commit
08e126188a
3 files changed
+44
-1
No files matched your search
@@ -104,7 +104,7 @@ class VarInt(Type):
|
||||
|
||||
@staticmethod
|
||||
def send(value, socket):
|
||||
out = ""
|
||||
out = bytes()
|
||||
while True:
|
||||
byte = value & 0x7F
|
||||
value >>= 7
|
||||
|
||||
Reference in new issue
Block a user