UNPKG

@mlightcad/common

Version:

The common package provides shared utilities and base classes that are used across the RealDWG-Web ecosystem. This package contains fundamental components for color management, event handling, logging, performance monitoring, and file loading operations.

11 lines 432 B
export declare class AcTrStringUtil { /** * Converts a byte count to a human-readable string using KB, MB, or GB. * * @param bytes - The number of bytes. * @param decimals - Number of decimal places to include (default is 2). * @returns A formatted string with the appropriate unit. */ static formatBytes(bytes: number, decimals?: number): string; } //# sourceMappingURL=AcCmStringUtil.d.ts.map