We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d50e88c commit e3823aaCopy full SHA for e3823aa
1 file changed
lib/shared/stdio_protocol.ts
@@ -445,10 +445,12 @@ is not a problem with esbuild. You need to fix your environment instead.
445
`)
446
447
export function readUInt32LE(buffer: Uint8Array, offset: number): number {
448
- return buffer[offset++] |
+ return (
449
+ buffer[offset++] |
450
(buffer[offset++] << 8) |
451
(buffer[offset++] << 16) |
452
(buffer[offset++] << 24)
453
+ ) >>> 0
454
}
455
456
function writeUInt32LE(buffer: Uint8Array, value: number, offset: number): void {
0 commit comments