import pi_protocol
data: bytes = b"\x82\x00\x05Steve\x00\x00\x00\x09\x00\x00\x00\x09"
decoded_packet: dict = pi_protocol.decode_packet(data)
print("Decoded your packet :)")
print(decoded_packet)
print("let's reencode it :)")
encoded_packet: bytes = pi_protocol.encode_packet(decoded_packet)
print(encoded_packet)
-
Notifications
You must be signed in to change notification settings - Fork 1
License
MCPI-Revival/pi_protocol
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published