Rocky_Mountain_Vending/.pnpm-store/v10/files/82/9a8d966fd4fe8d0df94fe529f41f8093becb00a5c46f137f51fbfdf3370aa82f8e32d1813d1a21586c9e28a69ffd5248af281d673656acb1e908563a6adf8f
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

27 lines
No EOL
801 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const hash_reader_1 = require("../base/hash-reader");
const hash_fn_1 = require("../base/hash-fn");
/**
* A hash reader for WebAssembly targets.
*/
class NodeHashReader extends hash_reader_1.BaseHashReader {
/**
* Converts first 32 bytes of the hash to a string with the given encoding.
*/
toString(encoding = 'hex') {
return this.toBuffer().toString(encoding);
}
/**
* Converts first 32 bytes of the hash to an array.
*/
toBuffer() {
this.position = BigInt(0);
return this.read(hash_fn_1.defaultHashLength);
}
alloc(bytes) {
return Buffer.alloc(bytes);
}
}
exports.NodeHashReader = NodeHashReader;
//# sourceMappingURL=hash-reader.js.map