search/
Start typing to search packages!
package_2
remotepacketsizecounter
By @pysephwasntavailable
Roblox
Mirrored from WallyThis version ships no README. Showing the README from v1.0.2, mirrored from wally.
RemotePacketSizeCounter
Calculates the size of remote packet data in bytes, given the packet data. Used in https://github.com/PysephWasntAvailable/PacketProfiler.
Installation
Install using Wally: https://wally.run/package/pysephwasntavailable/remotepacketsizecounter
Usage
local CountPacketSize = require(Packages.RemotePacketSizeCounter)
CountPacketSize(
true, -- Whether to ignore remote size overhead
... -- Remote packet data, can be any number of arguments of (almost) any type
)
Example
CountPacketSize(true, 1) -- 9
CountPacketSize(true, 912038912098) -- 9
CountPacketSize(true, "Hello") -- 8
CountPacketSize(false, "Hello") -- 17
CountPacketSize(true, CFrame.new()) -- 14
CountPacketSize(true, CFrame.Angles(0, 10, 0)) -- 22
Package Details
Install command (Click to copy)
Version
2.4.1
License
MIT
Safe for commercial use
Automated license review — not legal advice.
