tree: 15d2f2f7ab753c4f8b6c93f7513b2152c24586c4 [path history] [tgz]
  1. tests/
  2. index.d.ts
  3. index.js
  4. LICENSE
  5. package.json
  6. README.md
lib/pool/README.md

@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