formatBytesFormats a number of bytes into a human-readable string. function formatBytes(bytes: number): string;§formatBytes(bytes: number): string[src]§Parameters§bytes: number[src] The number of bytes to format. §Return Type§string[src]A string representing the number of bytes in a human-readable format.