parse packet types

This commit is contained in:
liamcottle 2025-03-09 17:15:12 +13:00
parent bc11e6a7fe
commit 5d94ba88ee
3 changed files with 104 additions and 11 deletions

View file

@ -4,3 +4,4 @@ const bytes = Buffer.from("0200B401DF6528CC9778A56F36FE9399A5CF6B0C7EDE", "hex")
const packet = Packet.fromBytes(bytes);
console.log(packet);
console.log(packet.parsePayload());