UNPKG

unpak.js

Version:

Modern TypeScript library for reading Unreal Engine pak files and assets, inspired by CUE4Parse

15 lines 886 B
export declare class Utils { static replaceAll(str: string, value1: string, value2: string): string; static bufferIsNotEmpty(buffer: Buffer): boolean; static clamp(self: number, min: number, max: number): number; static pathAppend(str1: string, str2: string, strLength?: number): string; static isAligned(value: number, alignment: number): boolean; static alignBigInt(value: bigint, alignment: bigint): number; static align(value: number, alignment: number): number; static repeat(times: number, action: (n: number) => void): void; static toRadians(angdeg: number): number; static takeWhile(buf: Buffer, filter: (byte: number) => boolean): Buffer<ArrayBuffer>; static takeWhileStr(str: string, filter: (char: string) => boolean): string; static divideAndRoundUp(int: number, divisor: number): number; } //# sourceMappingURL=Utils.d.ts.map