ByteCountCopyimport { ByteCount } from "https://raw.githubusercontent.com/i-xi-dev/bytes.es/4.1.0/src/byte_count.ts";class ByteCount {constructor(byteCount: int | bigint);to(unit: ByteUnit): number;valueOf(): number;}§Constructors§new ByteCount(byteCount: int | bigint)[src]§Methods§to(unit: ByteUnit): number[src]@param unitThe following units are supported. Units are case sensitive. "byte" "kilobyte" "kibibyte" "megabyte" "mebibyte" "gigabyte" "gibibyte" "terabyte" "tebibyte" "petabyte" "pebibyte" @returnThe byte count expressed in specified unit. §valueOf(): number[src]