@protobufjs/pool
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@protobufjs/pool

npm

A general purpose buffer pool.

API

  • pool(alloc: function(size: number): Uint8Array, slice: function(this: Uint8Array, start: number, end: number): Uint8Array, [size=8192: number]): function(size: number): Uint8Array
    Creates a pooled allocator.

License: BSD 3-Clause License

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @protobufjs/pool

    Weekly Downloads

    11,682,125

    Version

    1.1.0

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • dcode
    • protobufjs