{"id":"pysephwasntavailable/remotepacketsizecounter","name":"remotepacketsizecounter","scope":"pysephwasntavailable","platform":"roblox","description":"Mirrored from the Wally registry.","version":"2.4.1","latest":"2.4.1","versions":["1.0.1","1.0.2","1.0.4","2.0.0","2.1.0","2.2.0","2.3.0","2.3.1","2.4.0","2.4.1"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":true,"dependencies":{},"integrity":"3a0547860e1f5fcb193654149c61d884704d8779e0aea5b4649123e68d849cc3","likes":0,"downloads":0,"install":"forest install pysephwasntavailable/remotepacketsizecounter","url":"https://forest.dev/p/roblox/pysephwasntavailable/remotepacketsizecounter","files":"https://api.forest.dev/ai/package/roblox/pysephwasntavailable/remotepacketsizecounter/files","readme":"# RemotePacketSizeCounter\nCalculates the size of remote packet data in bytes, given the packet data.\nUsed in https://github.com/PysephWasntAvailable/PacketProfiler.\n\n## Installation\nInstall using Wally:\nhttps://wally.run/package/pysephwasntavailable/remotepacketsizecounter\n\n## Usage\n```lua\nlocal CountPacketSize = require(Packages.RemotePacketSizeCounter)\n\nCountPacketSize(\n    true, -- Whether to ignore remote size overhead\n    ... -- Remote packet data, can be any number of arguments of (almost) any type\n)\n```\n\n## Example\n```lua\nCountPacketSize(true, 1) -- 9\nCountPacketSize(true, 912038912098) -- 9\n\nCountPacketSize(true, \"Hello\") -- 8\nCountPacketSize(false, \"Hello\") -- 17\n\nCountPacketSize(true, CFrame.new()) -- 14\nCountPacketSize(true, CFrame.Angles(0, 10, 0)) -- 22\n```","readmeBorrowedFrom":{"version":"1.0.2","source":"wally"},"readmeTruncated":false}