@phughesmcr/partitionedbuffer@0.2.8Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
A high-performance PartitionedBuffer implementation backed by Uint32Array for efficient memory usage and fast bitwise operations.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
2 months ago (0.2.8)
/** * @module PartitionedBuffer * @description A convenient way to manage a data in ArrayBuffers. * @copyright 2024 the PartitionedBuffer authors. All rights reserved. * @license MIT */ import { PartitionedBuffer } from "./src/PartitionedBuffer.ts"; import { Partition, type PartitionSpec } from "./src/Partition.ts"; import { getSchemaSize, isSchema, type Schema, type SchemaStorage } from "./src/Schema.ts"; import { isValidName, type TypedArray, type TypedArrayConstructor } from "./src/utils.ts"; /** * Partition is a convenient way to define an object in a PartitionedBuffer. * PartitionedBuffer is a convenient way to manage a data in ArrayBuffers. */ export { getSchemaSize, isSchema, isValidName, Partition, PartitionedBuffer }; export type { PartitionSpec, Schema, SchemaStorage, TypedArray, TypedArrayConstructor };