@pumpkin-plugins/bedrock-addon-manager API / commands/format / formatSize
Function: formatSize() ​
formatSize(
bytes):string
Defined in: packages/bedrock-addon-manager/src/commands/format.ts:8
Formats a byte count for people.
Parameters ​
bytes ​
number
A size in bytes.
Returns ​
string
For example 512 B, 4.9 MiB.