Skip to content

Format a byte count as a human-readable size string

Format a byte count as a human-readable size string

format_byte_size(size_bytes)
ArgumentDescription
size_bytesnon-negative integer representing file sizes in bytes.