Rocky_Mountain_Vending/.pnpm-store/v10/files/0c/23e490bfc47cf8cddbc66b5e1f980fbb3adc8b964c22757904d6ea8a759da580ea6836dcd7fa4db34ef9259ea50cc49329259545b9ecb2956f452c39e989cb
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

28 lines
No EOL
839 B
Text

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