diff --git a/src/dto/Packet.js b/src/dto/Packet.js index dd1149b..452290b 100644 --- a/src/dto/Packet.js +++ b/src/dto/Packet.js @@ -33,7 +33,7 @@ class Packet{ payloadData; get payloadSize(){ - return payloadData.length/2; + return this.payloadData.length; } packetType;