src/Koldy/Convert.php
public static function bytesToString(int $bytes, int $round = 0): string
    {
        return self::getMeasure($bytes, 0, $round);
    }
public static function bytesToString(int $bytes, int $round = 0): string
    {
        return self::getMeasure($bytes, 0, $round);
    }
public static function bytesToString ( int $ bytes , int $ round = 0 ) : string { return self :: getMeasure ( $ bytes , 0 , $ round ) ; }
Get bytes size as string

@param int $bytes
@param int $round round to how many decimals

@return string
@example 2048 will return 2 KB

@link https://koldy.net/framework/docs/2.0/converters.md#bytestostring
Get bytes size as string