import '../../../../assert/js/assert.js';
import '../../../../globals.js';
// Copyright 2023-2024, University of Colorado Boulder
/**
 * Utility for converting a number into an unsigned 32-bit integer string.
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { alpenglow } from '../../imports.js';
const u32 = (n) => {
    assert && assert(Number.isInteger(n) && n >= 0 && n < 2 ** 32, `Invalid u32 value: ${n}`);
    return `${n >>> 0}u`;
};
alpenglow.register('u32', u32);
export default u32;
//# sourceMappingURL=u32.js.map