Rocky_Mountain_Vending/.pnpm-store/v10/files/a6/881e0cce479eeb97df77b80b7050e82543227f7d60f6ab87df9ed5b7e67cc98017af4f5e9431e6fe1f2377768c6388d38f1a3f0c33b9d622e8689ccd22b2ba
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

13 lines
409 B
Text

'use strict';
async function blobReader(blob, onChunk, chunkSize = 1024 * 1024) {
const size = blob.size;
let totalBytesRead = 0;
while (totalBytesRead < size) {
const slice = blob.slice(totalBytesRead, Math.min(size, totalBytesRead + chunkSize));
onChunk(new Uint8Array(await slice.arrayBuffer()));
totalBytesRead += slice.size;
}
}
exports.blobReader = blobReader;