{"name":"@protobufjs/utf8","description":"A minimal UTF8 implementation for number arrays.","version":"1.1.2","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/protobufjs/protobuf.js.git"},"license":"BSD-3-Clause","main":"index.js","types":"index.d.ts","devDependencies":{"istanbul":"^0.4.5","tape":"^5.0.0"},"scripts":{"test":"tape tests/*.js","coverage":"istanbul cover node_modules/tape/bin/tape tests/*.js"},"gitHead":"d29ff6786257262921ce71f324a2205c10181ce7","_id":"@protobufjs/utf8@1.1.2","bugs":{"url":"https://github.com/protobufjs/protobuf.js/issues"},"homepage":"https://github.com/protobufjs/protobuf.js#readme","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug==","shasum":"78d476333d85d5b1c792e257bca74ba080da49a4","tarball":"http://registry-npm.ywwl.com/@protobufjs/utf8/download/@protobufjs/utf8-1.1.2.tgz","fileCount":9,"unpackedSize":42558,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDdtxXE2niCtDNErDPtSapJUAJRN5xemxaiwyrTJGDoTgIgDZwgxNTSOh623ckLsozQC5LBqi5iLzIZ68O+mq1r32o="}],"size":10793,"noattachment":false,"key":"/@protobufjs/utf8/-/@protobufjs/utf8-1.1.2.tgz"},"_npmUser":{"name":"dcode","email":"dcode+npm@dcode.io"},"directories":{},"maintainers":[{"name":"dcode","email":"dcode+npm@dcode.io"},{"name":"protobufjs","email":"dcode+protobufjs@dcode.io"},{"name":"google-wombot","email":"node-team-npm+wombot@google.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/utf8_1.1.2_1783293482471_0.24572214725472352"},"_hasShrinkwrap":false,"readme":"@protobufjs/utf8\r\n================\r\n[![npm](https://img.shields.io/npm/v/@protobufjs/utf8.svg)](https://www.npmjs.com/package/@protobufjs/utf8)\r\n\r\nA minimal UTF8 implementation for number arrays.\r\n\r\nAPI\r\n---\r\n\r\n* **utf8.length(string: `string`): `number`**<br />\r\n  Calculates the UTF8 byte length of a string.\r\n\r\n* **utf8.read(buffer: `Uint8Array`, start: `number`, end: `number`): `string`**<br />\r\n  Reads UTF8 bytes as a string.\r\n\r\n* **utf8.write(string: `string`, buffer: `Uint8Array`, offset: `number`): `number`**<br />\r\n  Writes a string as UTF8 bytes.\r\n\r\n\r\n**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)\r\n","publish_time":1783293482602,"_cnpm_publish_time":1783293482602,"dist-tags":{"latest":"1.1.2"}}