campus-errand/miniapp/node_modules/fast-check/lib/cjs/arbitrary/uint8Array.js
2026-03-01 05:01:47 +08:00

10 lines
545 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.uint8Array = uint8Array;
const globals_js_1 = require("../utils/globals.js");
const integer_js_1 = require("./integer.js");
const TypedIntArrayArbitraryBuilder_js_1 = require("./_internals/builders/TypedIntArrayArbitraryBuilder.js");
/**@__NO_SIDE_EFFECTS__*/function uint8Array(constraints = {}) {
return (0, TypedIntArrayArbitraryBuilder_js_1.typedIntArrayArbitraryArbitraryBuilder)(constraints, 0, 255, globals_js_1.Uint8Array, integer_js_1.integer);
}