{"_id":"@jsonjoy.com/buffers","_rev":"4320861","name":"@jsonjoy.com/buffers","description":"Various helper utilities for working with buffers and binary data","dist-tags":{"latest":"18.8.0"},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"time":{"modified":"2026-04-07T22:31:38.000Z","created":"2025-08-01T15:41:39.485Z","18.8.0":"2026-04-07T16:10:59.554Z","18.7.0":"2026-04-05T22:08:59.711Z","18.6.0":"2026-04-04T17:48:50.583Z","18.5.0":"2026-04-02T18:12:08.686Z","18.1.0":"2026-03-21T15:25:45.878Z","18.0.0":"2026-02-22T18:12:42.283Z","17.67.0":"2026-02-06T11:55:24.274Z","17.65.0":"2025-11-30T18:34:24.210Z","17.64.0":"2025-11-30T16:38:13.917Z","17.63.0":"2025-10-28T21:58:03.660Z","17.62.0":"2025-10-28T10:21:03.242Z","17.61.1":"2025-10-21T22:18:21.606Z","17.61.0":"2025-10-20T18:55:08.785Z","17.60.0":"2025-10-19T22:31:08.038Z","17.59.0":"2025-10-18T16:20:05.972Z","17.58.0":"2025-10-18T16:15:30.398Z","17.56.0":"2025-10-17T19:50:27.357Z","17.55.1":"2025-10-17T14:50:14.410Z","1.2.1":"2025-10-16T17:46:39.909Z","1.2.0":"2025-10-07T20:46:10.891Z","1.1.0":"2025-10-07T18:14:30.662Z","1.0.0":"2025-08-01T15:41:39.485Z"},"users":{},"author":{"name":"streamich","url":"https://github.com/streamich"},"repository":{"type":"git","url":"git+https://github.com/streamich/json-joy.git"},"versions":{"18.8.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"18.8.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/json-joy/packages/buffers","repository":{"type":"git","url":"git+https://github.com/streamich/json-joy.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"npx rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc -b tsconfig.build.json","typedoc":"typedoc","build:pages":"npx rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -b --noEmit"},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*(?<!\\.vi)\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules","\\.vi\\.(test|spec)\\.tsx?$"]},"_id":"@jsonjoy.com/buffers@18.8.0","bugs":{"url":"https://github.com/streamich/json-joy/issues"},"_integrity":"sha512-cdWXxBjHuucOmkKVizuk2/OOXa9fNFa3hOIlDGk4hs/DYG9DA9h0BJBTp211AvvFNS1NrHXp/UT/vmqPKOTyPw==","_resolved":"/home/runner/work/json-joy/json-joy/packages/buffers/package.tgz","_from":"file:package.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"shasum":"337ee7a713287232888168f1910412a1569430b1","size":60704,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-18.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-18.8.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_18.8.0_1775578259398_0.6119600672675474"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-07T16:10:59.554Z","publish_time":1775578259554,"_source_registry_name":"default","_cnpm_publish_time":1775578259554},"18.7.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"18.7.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/json-joy/packages/buffers","repository":{"type":"git","url":"git+https://github.com/streamich/json-joy.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"npx rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc -b tsconfig.build.json","typedoc":"typedoc","build:pages":"npx rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -b --noEmit"},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*(?<!\\.vi)\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules","\\.vi\\.(test|spec)\\.tsx?$"]},"_id":"@jsonjoy.com/buffers@18.7.0","bugs":{"url":"https://github.com/streamich/json-joy/issues"},"_integrity":"sha512-ZGbTiC7GSY3a7KbOnjnNOIw1hCI2hs7Hkuk0O9LooEYsO+NXiKoejLTE0h9x/V53lRm/sBxvvjRPtoCvfD9fXg==","_resolved":"/home/runner/work/json-joy/json-joy/packages/buffers/package.tgz","_from":"file:package.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"shasum":"49f154342d7a9a20b8784d1f517cd56e086844df","size":60704,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-18.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-18.7.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_18.7.0_1775426939583_0.15997586500640248"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-05T22:08:59.711Z","publish_time":1775426939711,"_source_registry_name":"default","_cnpm_publish_time":1775426939711},"18.6.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"18.6.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/json-joy/packages/buffers","repository":{"type":"git","url":"git+https://github.com/streamich/json-joy.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"npx rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc -b tsconfig.build.json","typedoc":"typedoc","build:pages":"npx rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -b --noEmit"},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*(?<!\\.vi)\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules","\\.vi\\.(test|spec)\\.tsx?$"]},"_id":"@jsonjoy.com/buffers@18.6.0","bugs":{"url":"https://github.com/streamich/json-joy/issues"},"_integrity":"sha512-Us8d9QSq0pClMDU2mQwriAYToGhSzTnAFr5D/F0sSM8MGsdhGPy0m6zaZaj441LrV+z1ONWq2JShXh3fJ5l3Eg==","_resolved":"/home/runner/work/json-joy/json-joy/packages/buffers/package.tgz","_from":"file:package.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"shasum":"cbcc8cd5df9bddb1e6e3cd09c4bd0cbecd0791ff","size":60704,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-18.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-18.6.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_18.6.0_1775324930433_0.23295625551416843"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-04T17:48:50.583Z","publish_time":1775324930583,"_source_registry_name":"default","_cnpm_publish_time":1775324930583},"18.5.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"18.5.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/json-joy/packages/buffers","repository":{"type":"git","url":"git+https://github.com/streamich/json-joy.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"npx rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc -b tsconfig.build.json","typedoc":"typedoc","build:pages":"npx rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -b --noEmit"},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*(?<!\\.vi)\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules","\\.vi\\.(test|spec)\\.tsx?$"]},"_id":"@jsonjoy.com/buffers@18.5.0","bugs":{"url":"https://github.com/streamich/json-joy/issues"},"_integrity":"sha512-YD0smrZL9jZCMTKhafr5y54IddZ+vETAIGDFfj0Bq6ErQPm3GoJDkLSDzDMfEYrkc4PJJWCg89bq6p8eYsDLfQ==","_resolved":"/home/runner/work/json-joy/json-joy/packages/buffers/package.tgz","_from":"file:package.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"shasum":"e4f56c5504fcead654dc0bbb30eec69555b54a0e","size":60705,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-18.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-18.5.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_18.5.0_1775153528465_0.6719283204027338"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-02T18:12:08.686Z","publish_time":1775153528686,"_source_registry_name":"default","_cnpm_publish_time":1775153528686},"18.1.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"18.1.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"npx rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc -b tsconfig.build.json","typedoc":"typedoc","build:pages":"npx rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -b --noEmit"},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*(?<!\\.vi)\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules","\\.vi\\.(test|spec)\\.tsx?$"]},"_id":"@jsonjoy.com/buffers@18.1.0","gitHead":"6fadf62f896d462e8a99f54b775ad6e338822b00","dist":{"shasum":"162dcb46eed141b7719840e1c1386b19c26e0d7a","size":60702,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-18.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-18.1.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_18.1.0_1774106745678_0.39589439973724816"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-21T15:25:45.878Z","publish_time":1774106745878,"_source_registry_name":"default","_cnpm_publish_time":1774106745878},"18.0.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"18.0.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@18.0.0","gitHead":"b8f6531fe40ba35746ccbae7b11b40d6a343d919","dist":{"shasum":"a38dabda80750eeb3350dc299e13b48554eca36c","size":34689,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-18.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-18.0.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_18.0.0_1771783962133_0.6924336581676289"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-22T18:12:42.283Z","publish_time":1771783962283,"_source_registry_name":"default","_cnpm_publish_time":1771783962283},"17.67.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.67.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@17.67.0","gitHead":"9c2faf7857f89107c2b8fc040a912796516ddb4f","dist":{"shasum":"5c58dbcdeea8824ce296bd1cfce006c2eb167b3d","size":34694,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.67.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.67.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.67.0_1770378924129_0.9428266085501489"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-06T11:55:24.274Z","publish_time":1770378924274,"_source_registry_name":"default","_cnpm_publish_time":1770378924274},"17.65.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.65.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@17.65.0","gitHead":"3f1b925dd260a8ba75adde2a16df715c06d9b2b8","dist":{"shasum":"d6890737d9cbc49c17e2c5d1a2d796c57205152c","size":34694,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.65.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.65.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.65.0_1764527664011_0.9388877706172185"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-30T18:34:24.210Z","publish_time":1764527664210,"_source_registry_name":"default","_cnpm_publish_time":1764527664210},"17.64.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.64.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@17.64.0","gitHead":"57dbc7cd3085f785d742648bb85847fd7f0ab882","dist":{"shasum":"f2e6a297bbd89dde4f5a26536d6d28f6f9d767f7","size":34694,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.64.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.64.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.64.0_1764520693693_0.5902885319160662"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-30T16:38:13.917Z","publish_time":1764520693917,"_source_registry_name":"default","_cnpm_publish_time":1764520693917},"17.63.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.63.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@17.63.0","gitHead":"0f1c1f821ff1c2a35e341f1fce79b35e107b5ec0","dist":{"shasum":"e66a557e687375fd15bb9371c3a367cb5f17534a","size":34694,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.63.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.63.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.63.0_1761688683427_0.13722630841970895"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-28T21:58:03.660Z","publish_time":1761688683660,"_source_registry_name":"default","_cnpm_publish_time":1761688683660},"17.62.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.62.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@17.62.0","gitHead":"0c473405cf7840e82fd0b5726eca73294166de0b","dist":{"shasum":"87710bb56fe1887b5deb41b15935105c85f5c088","size":34693,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.62.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.62.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.62.0_1761646863069_0.44474174944688105"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-28T10:21:03.242Z","publish_time":1761646863242,"_source_registry_name":"default","_cnpm_publish_time":1761646863242},"17.61.1":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.61.1","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@17.61.1","gitHead":"be72bd39f11a72e10cb58347100e63ca3865dc01","dist":{"shasum":"a506e9839404270d1fd5269703ba9e58dd824768","size":34696,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.61.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.61.1.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.61.1_1761085101395_0.8842508898347619"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-21T22:18:21.606Z","publish_time":1761085101606,"_source_registry_name":"default","_cnpm_publish_time":1761085101606},"17.61.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.61.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@17.61.0","gitHead":"bcabf28c02eda97daac57cf8c16c6f45166f8bd9","dist":{"shasum":"82602e308a5daec8fc4d649da20e0e3448f6586f","size":34694,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.61.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.61.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.61.0_1760986508560_0.8501731631220049"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-20T18:55:08.785Z","publish_time":1760986508785,"_source_registry_name":"default","_cnpm_publish_time":1760986508785},"17.60.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.60.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@17.60.0","gitHead":"35e0397cc22da24d784f4245a0f4c72b2c5b945e","dist":{"shasum":"012af0521de5b66ca0d854f4579b9579c44f0ec0","size":34694,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.60.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.60.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.60.0_1760913067819_0.8852771240638018"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-19T22:31:08.038Z","publish_time":1760913068038,"_source_registry_name":"default","_cnpm_publish_time":1760913068038},"17.59.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.59.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@17.59.0","gitHead":"623856152455d7a60445d1c15a80a907423cf339","dist":{"shasum":"85be290088a298f321adb238de98e2424577d5b9","size":34694,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.59.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.59.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.59.0_1760804405728_0.5341748522613334"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-18T16:20:05.972Z","publish_time":1760804405972,"_source_registry_name":"default","_cnpm_publish_time":1760804405972},"17.58.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.58.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"_id":"@jsonjoy.com/buffers@17.58.0","gitHead":"623856152455d7a60445d1c15a80a907423cf339","dist":{"shasum":"3019b1fd29de65cdef11e4e31e0d41d5fdc3d045","size":34694,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.58.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.58.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.58.0_1760804130212_0.27287092382481304"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-18T16:15:30.398Z","publish_time":1760804130398,"_source_registry_name":"default","_cnpm_publish_time":1760804130398},"17.56.0":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.56.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"_id":"@jsonjoy.com/buffers@17.56.0","gitHead":"5fdd53c240897504f17d4e662587fd3d623b3868","dist":{"shasum":"ab0480d9f569fcf7881a5d3bebe3995bbed77ead","size":34693,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.56.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.56.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.56.0_1760730627138_0.8103565136377457"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-17T19:50:27.357Z","publish_time":1760730627357,"_source_registry_name":"default","_cnpm_publish_time":1760730627357},"17.55.1":{"name":"@jsonjoy.com/buffers","publishConfig":{"access":"public"},"version":"17.55.1","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":"jsonjoy-com/buffers","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages","typecheck":"tsc -p ."},"peerDependencies":{"tslib":"2"},"devDependencies":{"json-pack-napi":"^0.0.2"},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"_id":"@jsonjoy.com/buffers@17.55.1","gitHead":"944c82d585cb080ad126f22b03ea85e776ec4bbc","dist":{"shasum":"9b8fac326110d9b3862b8e03ae6900dfd94f7511","size":34652,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-17.55.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-17.55.1.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_17.55.1_1760712614197_0.39371932388184905"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-17T14:50:14.410Z","publish_time":1760712614410,"_source_registry_name":"default","_cnpm_publish_time":1760712614410},"1.2.1":{"name":"@jsonjoy.com/buffers","private":false,"publishConfig":{"access":"public"},"version":"1.2.1","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":{"type":"git","url":"git+https://github.com/jsonjoy-com/buffers.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"prettier":"prettier --ignore-path .gitignore --write \"src/**/*.{ts,tsx,js,jsx}\"","prettier:check":"prettier --ignore-path .gitignore --list-different 'src/**/*.{ts,tsx,js,jsx}'","lint":"yarn tslint","tslint":"tslint 'src/**/*.{js,jsx,ts,tsx}' -t verbose --project .","clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages"},"peerDependencies":{"tslib":"2"},"dependencies":{},"devDependencies":{"@types/benchmark":"^2.1.2","@types/jest":"^29.5.12","benchmark":"^2.1.4","jest":"^29.7.0","json-pack-napi":"^0.0.2","prettier":"^3.2.5","pretty-quick":"^3.1.3","rimraf":"^5.0.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","tslib":"^2.6.2","tslint":"^6.1.3","tslint-config-common":"^1.6.2","typedoc":"^0.25.12","typescript":"^5.4.4"},"jest":{"verbose":true,"testEnvironmentOptions":{"url":"http://localhost/"},"moduleFileExtensions":["ts","js"],"transform":{"^.+\\.ts$":"ts-jest"},"transformIgnorePatterns":[],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$"},"prettier":{"arrowParens":"always","printWidth":120,"tabWidth":2,"useTabs":false,"semi":true,"singleQuote":true,"trailingComma":"all","bracketSpacing":false},"_id":"@jsonjoy.com/buffers@1.2.1","gitHead":"f5595600335e369abda161f5a2bb75527a9ede97","bugs":{"url":"https://github.com/jsonjoy-com/buffers/issues"},"_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"shasum":"8d99c7f67eaf724d3428dfd9826c6455266a5c83","size":28959,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-1.2.1.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_1.2.1_1760636799701_0.15661044954095282"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-16T17:46:39.909Z","publish_time":1760636799909,"_source_registry_name":"default","_cnpm_publish_time":1760636799909},"1.2.0":{"name":"@jsonjoy.com/buffers","private":false,"publishConfig":{"access":"public"},"version":"1.2.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":{"type":"git","url":"git+https://github.com/jsonjoy-com/buffers.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"prettier":"prettier --ignore-path .gitignore --write \"src/**/*.{ts,tsx,js,jsx}\"","prettier:check":"prettier --ignore-path .gitignore --list-different 'src/**/*.{ts,tsx,js,jsx}'","lint":"yarn tslint","tslint":"tslint 'src/**/*.{js,jsx,ts,tsx}' -t verbose --project .","clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages"},"peerDependencies":{"tslib":"2"},"dependencies":{},"devDependencies":{"@types/benchmark":"^2.1.2","@types/jest":"^29.5.12","benchmark":"^2.1.4","jest":"^29.7.0","json-pack-napi":"^0.0.2","prettier":"^3.2.5","pretty-quick":"^3.1.3","rimraf":"^5.0.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","tslib":"^2.6.2","tslint":"^6.1.3","tslint-config-common":"^1.6.2","typedoc":"^0.25.12","typescript":"^5.4.4"},"jest":{"verbose":true,"testEnvironmentOptions":{"url":"http://localhost/"},"moduleFileExtensions":["ts","js"],"transform":{"^.+\\.ts$":"ts-jest"},"transformIgnorePatterns":[],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$"},"prettier":{"arrowParens":"always","printWidth":120,"tabWidth":2,"useTabs":false,"semi":true,"singleQuote":true,"trailingComma":"all","bracketSpacing":false},"_id":"@jsonjoy.com/buffers@1.2.0","gitHead":"1b855a42ab703578d8360a9ddbfde20394d70f90","bugs":{"url":"https://github.com/jsonjoy-com/buffers/issues"},"_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"shasum":"57b9bbc509055de80f22cf6b696ac7efd7554046","size":28957,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-1.2.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_1.2.0_1759869970718_0.2024378191523708"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-07T20:46:10.891Z","publish_time":1759869970891,"_source_registry_name":"default","_cnpm_publish_time":1759869970891},"1.1.0":{"name":"@jsonjoy.com/buffers","private":false,"publishConfig":{"access":"public"},"version":"1.1.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":{"type":"git","url":"git+https://github.com/jsonjoy-com/buffers.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"prettier":"prettier --ignore-path .gitignore --write \"src/**/*.{ts,tsx,js,jsx}\"","prettier:check":"prettier --ignore-path .gitignore --list-different 'src/**/*.{ts,tsx,js,jsx}'","lint":"yarn tslint","tslint":"tslint 'src/**/*.{js,jsx,ts,tsx}' -t verbose --project .","clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages"},"peerDependencies":{"tslib":"2"},"dependencies":{},"devDependencies":{"@types/benchmark":"^2.1.2","@types/jest":"^29.5.12","benchmark":"^2.1.4","jest":"^29.7.0","json-pack-napi":"^0.0.2","prettier":"^3.2.5","pretty-quick":"^3.1.3","rimraf":"^5.0.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","tslib":"^2.6.2","tslint":"^6.1.3","tslint-config-common":"^1.6.2","typedoc":"^0.25.12","typescript":"^5.4.4"},"jest":{"verbose":true,"testEnvironmentOptions":{"url":"http://localhost/"},"moduleFileExtensions":["ts","js"],"transform":{"^.+\\.ts$":"ts-jest"},"transformIgnorePatterns":[],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$"},"prettier":{"arrowParens":"always","printWidth":120,"tabWidth":2,"useTabs":false,"semi":true,"singleQuote":true,"trailingComma":"all","bracketSpacing":false},"_id":"@jsonjoy.com/buffers@1.1.0","gitHead":"91136d07dfa5ff35fdf12f8d0603937ea6d7a564","bugs":{"url":"https://github.com/jsonjoy-com/buffers/issues"},"_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"shasum":"0be6938bedd791d29acc79d2d2bb05c6e1302077","size":28903,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-1.1.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_1.1.0_1759860870480_0.5506463519416795"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-07T18:14:30.662Z","publish_time":1759860870662,"_source_registry_name":"default","_cnpm_publish_time":1759860870662},"1.0.0":{"name":"@jsonjoy.com/buffers","private":false,"publishConfig":{"access":"public"},"version":"1.0.0","description":"Various helper utilities for working with buffers and binary data","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/jsonjoy-com/buffers","repository":{"type":"git","url":"git+https://github.com/jsonjoy-com/buffers.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["buffer","buffers","uint8array","binary","utf8","string","encoding","decoding","reader","writer","streaming"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"prettier":"prettier --ignore-path .gitignore --write \"src/**/*.{ts,tsx,js,jsx}\"","prettier:check":"prettier --ignore-path .gitignore --list-different 'src/**/*.{ts,tsx,js,jsx}'","lint":"yarn tslint","tslint":"tslint 'src/**/*.{js,jsx,ts,tsx}' -t verbose --project .","clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","build:pages":"rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage","deploy:pages":"gh-pages -d gh-pages","publish-coverage-and-typedocs":"yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages"},"peerDependencies":{"tslib":"2"},"dependencies":{},"devDependencies":{"@types/benchmark":"^2.1.2","@types/jest":"^29.5.12","benchmark":"^2.1.4","jest":"^29.7.0","json-pack-napi":"^0.0.2","prettier":"^3.2.5","pretty-quick":"^3.1.3","rimraf":"^5.0.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","tslib":"^2.6.2","tslint":"^6.1.3","tslint-config-common":"^1.6.2","typedoc":"^0.25.12","typescript":"^5.4.4"},"jest":{"verbose":true,"testEnvironmentOptions":{"url":"http://localhost/"},"moduleFileExtensions":["ts","js"],"transform":{"^.+\\.ts$":"ts-jest"},"transformIgnorePatterns":[],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$"},"prettier":{"arrowParens":"always","printWidth":120,"tabWidth":2,"useTabs":false,"semi":true,"singleQuote":true,"trailingComma":"all","bracketSpacing":false},"_id":"@jsonjoy.com/buffers@1.0.0","gitHead":"3697f2f6ea69bbecab2545d65fc0b00302d46dbf","bugs":{"url":"https://github.com/jsonjoy-com/buffers/issues"},"_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"shasum":"ade6895b7d3883d70f87b5743efaa12c71dfef7a","size":28478,"noattachment":false,"key":"/@jsonjoy.com/buffers/-/@jsonjoy.com/buffers-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/buffers/download/@jsonjoy.com/buffers-1.0.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buffers_1.0.0_1754062899228_0.2487725472454776"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-01T15:41:39.485Z","publish_time":1754062899485,"_source_registry_name":"default","_cnpm_publish_time":1754062899485}},"readme":"# buffers\n\nVarious helper utilities for working with buffers and binary data in TypeScript.\n\n## Installation\n\n```bash\nnpm install @jsonjoy.com/buffers\n```\n\n## Features\n\nThis package provides high-performance utilities for working with binary data, buffers, and UTF-8 text encoding/decoding. It includes optimized implementations for both Node.js and browser environments.\n\n## Core Classes\n\n### Writer\n\nA growable binary data writer with automatic buffer expansion.\n\n```typescript\nimport {Writer} from '@jsonjoy.com/buffers/lib/Writer';\n\nconst writer = new Writer();\nwriter.u8(0x42);          // Write unsigned 8-bit integer\nwriter.u16(0x1234);       // Write unsigned 16-bit integer\nwriter.u32(0x12345678);   // Write unsigned 32-bit integer\nwriter.u64(0x123456789abcdefn); // Write unsigned 64-bit integer\nwriter.f32(3.14);         // Write 32-bit float\nwriter.f64(3.141592653589793); // Write 64-bit float\nwriter.utf8('Hello ????');  // Write UTF-8 string\nwriter.ascii('Hello');    // Write ASCII string\n\nconst data = writer.flush(); // Get written data as Uint8Array\n```\n\n### Reader\n\nA binary data reader for parsing binary buffers.\n\n```typescript\nimport {Reader} from '@jsonjoy.com/buffers/lib/Reader';\n\nconst reader = new Reader();\nreader.reset(someUint8Array);\n\nconst byte = reader.u8();     // Read unsigned 8-bit integer\nconst word = reader.u16();    // Read unsigned 16-bit integer\nconst dword = reader.u32();   // Read unsigned 32-bit integer\nconst qword = reader.u64();   // Read unsigned 64-bit integer\nconst float = reader.f32();   // Read 32-bit float\nconst double = reader.f64();  // Read 64-bit float\nconst text = reader.utf8(5);  // Read UTF-8 string of 5 bytes\nconst ascii = reader.ascii(5); // Read ASCII string of 5 characters\n```\n\n### StreamingReader\n\nA streaming binary reader that can handle data arriving in chunks.\n\n```typescript\nimport {StreamingReader} from '@jsonjoy.com/buffers/lib/StreamingReader';\n\nconst reader = new StreamingReader();\nreader.push(chunk1);\nreader.push(chunk2);\n\n// Read data as it becomes available\nconst value = reader.u32();\nreader.consume(); // Mark consumed data for cleanup\n```\n\n### StreamingOctetReader\n\nA specialized streaming reader for byte-oriented protocols with optional XOR masking.\n\n```typescript\nimport {StreamingOctetReader} from '@jsonjoy.com/buffers/lib/StreamingOctetReader';\n\nconst reader = new StreamingOctetReader();\nreader.push(dataChunk);\n\nconst byte = reader.u8();\nconst masked = reader.bufXor(length, [0x12, 0x34, 0x56, 0x78], 0);\n```\n\n## Utility Functions\n\n### Buffer Operations\n\n```typescript\n// Array creation and manipulation\nimport {b} from '@jsonjoy.com/buffers/lib/b';\nimport {concat, concatList} from '@jsonjoy.com/buffers/lib/concat';\nimport {copy} from '@jsonjoy.com/buffers/lib/copy';\n\nconst buffer = b(0x48, 0x65, 0x6c, 0x6c, 0x6f); // Create from bytes\nconst combined = concat(buffer1, buffer2);         // Concatenate two buffers\nconst list = concatList([buf1, buf2, buf3]);      // Concatenate array of buffers\nconst duplicate = copy(originalBuffer);           // Copy buffer\n```\n\n### Comparison Functions\n\n```typescript\nimport {cmpUint8Array} from '@jsonjoy.com/buffers/lib/cmpUint8Array';\nimport {cmpUint8Array2} from '@jsonjoy.com/buffers/lib/cmpUint8Array2';\nimport {cmpUint8Array3} from '@jsonjoy.com/buffers/lib/cmpUint8Array3';\n\nconst isEqual = cmpUint8Array(buf1, buf2);        // Returns boolean\nconst comparison = cmpUint8Array2(buf1, buf2);    // Returns -1, 0, or 1 (byte-first)\nconst comparison2 = cmpUint8Array3(buf1, buf2);   // Returns -1, 0, or 1 (length-first)\n```\n\n### Type Checking\n\n```typescript\nimport {isUint8Array} from '@jsonjoy.com/buffers/lib/isUint8Array';\nimport {isArrayBuffer} from '@jsonjoy.com/buffers/lib/isArrayBuffer';\nimport {isFloat32} from '@jsonjoy.com/buffers/lib/isFloat32';\n\nif (isUint8Array(data)) { /* data is Uint8Array or Buffer */ }\nif (isArrayBuffer(data)) { /* data is ArrayBuffer */ }\nif (isFloat32(3.14)) { /* number can fit in float32 */ }\n```\n\n### Conversion Functions\n\n```typescript\nimport {toUint8Array} from '@jsonjoy.com/buffers/lib/toUint8Array';\nimport {bufferToUint8Array} from '@jsonjoy.com/buffers/lib/bufferToUint8Array';\nimport {toBuf} from '@jsonjoy.com/buffers/lib/toBuf';\n\nconst uint8 = toUint8Array(data);           // Convert various types to Uint8Array\nconst converted = bufferToUint8Array(buf);  // Convert Buffer to Uint8Array\nconst encoded = toBuf('Hello ????');          // Convert string to UTF-8 bytes\n```\n\n### String Utilities\n\n```typescript\nimport {ascii, utf8} from '@jsonjoy.com/buffers/lib/strings';\n\nconst asciiBytes = ascii`Hello World`;      // ASCII string to bytes\nconst utf8Bytes = utf8`Hello ????`;           // UTF-8 string to bytes\n```\n\n## UTF-8 Encoding/Decoding\n\n### High-Performance UTF-8 Decoding\n\n```typescript\nimport {decodeUtf8} from '@jsonjoy.com/buffers/lib/utf8/decodeUtf8';\n\nconst text = decodeUtf8(uint8Array, offset, length);\n```\n\nThe package includes multiple optimized UTF-8 decoding implementations that automatically choose the best strategy based on:\n- Environment (Node.js vs Browser)\n- String length\n- Available APIs\n\n### UTF-8 Encoding\n\n```typescript\nimport {encode} from '@jsonjoy.com/buffers/lib/utf8/encode';\n\nconst bytesWritten = encode(targetArray, 'Hello ????', offset, maxLength);\n```\n\n### Advanced UTF-8 Features\n\n```typescript\nimport {CachedUtf8Decoder} from '@jsonjoy.com/buffers/lib/utf8/CachedUtf8Decoder';\nimport {isUtf8} from '@jsonjoy.com/buffers/lib/utf8/isUtf8';\nimport {decodeAscii} from '@jsonjoy.com/buffers/lib/utf8/decodeAscii';\n\nconst decoder = new CachedUtf8Decoder();\nconst text = decoder.decode(uint8Array, start, length);\n\nconst isValidUtf8 = isUtf8(uint8Array);\nconst asciiText = decodeAscii(uint8Array, start, length);\n```\n\n## Special Data Types\n\n### Slice\n\nA lightweight view into a buffer without copying data.\n\n```typescript\nimport {Slice} from '@jsonjoy.com/buffers/lib/Slice';\n\nconst slice = new Slice(uint8Array, dataView, start, end);\nconst subarray = slice.subarray(); // Get the actual data\n```\n\n### Float16 Support\n\n```typescript\nimport {decodeF16} from '@jsonjoy.com/buffers/lib/f16';\n\nconst float32Value = decodeF16(binaryF16Value);\n```\n\n## Debugging Utilities\n\n```typescript\nimport {printOctets} from '@jsonjoy.com/buffers/lib/printOctets';\n\nconsole.log(printOctets(uint8Array, 16)); // Print hex dump of first 16 bytes\n```\n\n## Performance\n\nThis library is designed for high performance with:\n\n- **Optimized UTF-8 handling**: Multiple implementations that choose the fastest method for each environment\n- **Minimal allocations**: Reusable readers and writers with buffer pooling\n- **Zero-copy operations**: Slices and views avoid unnecessary data copying\n- **Environment-specific optimizations**: Leverages Node.js Buffer APIs when available\n\n## Browser Support\n\nWorks in all modern browsers and Node.js environments. The library automatically detects available APIs and chooses the most appropriate implementation.\n\n## TypeScript Support\n\nFull TypeScript support with comprehensive type definitions included.\n\n## License\n\nApache-2.0\n\n","_attachments":{},"homepage":"https://github.com/streamich/json-joy/packages/buffers","bugs":{"url":"https://github.com/streamich/json-joy/issues"},"license":"Apache-2.0"}