PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/expo-random/build

Просмотр файла: Random.d.ts

/**
 * Generates completely random bytes using native implementations. The `byteCount` property
 * is a `number` indicating the number of bytes to generate in the form of a `Uint8Array`.
 * Falls back to `Math.random` during development to prevent issues with React Native Debugger.
 * @param byteCount - A number within the range from `0` to `1024`. Anything else will throw a `TypeError`.
 * @return An array of random bytes with the same length as the `byteCount`.
 */
export declare function getRandomBytes(byteCount: number): Uint8Array;
/**
 * Generates completely random bytes using native implementations. The `byteCount` property
 * is a `number` indicating the number of bytes to generate in the form of a `Uint8Array`.
 * @param byteCount - A number within the range from `0` to `1024`. Anything else will throw a `TypeError`.
 * @return A promise that fulfills with an array of random bytes with the same length as the `byteCount`.
 */
export declare function getRandomBytesAsync(byteCount: number): Promise<Uint8Array>;
//# sourceMappingURL=Random.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!