mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 11:20:19 +00:00
14 lines
497 B
Markdown
14 lines
497 B
Markdown
|
@protobufjs/pool
|
||
|
================
|
||
|
[![npm](https://img.shields.io/npm/v/@protobufjs/pool.svg)](https://www.npmjs.com/package/@protobufjs/pool)
|
||
|
|
||
|
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`**<br />
|
||
|
Creates a pooled allocator.
|
||
|
|
||
|
**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
|