📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-01 09:57:05
📂
/ (Root)
/
home
/
orkouolp
/
nodevenv
/
node_js
/
orkofarms.com
/
18
/
lib
/
node_modules
/
@protobufjs
/
pool
📍 /home/orkouolp/nodevenv/node_js/orkofarms.com/18/lib/node_modules/@protobufjs/pool
🔄 Refresh
✏️
Editing: index.d.ts
Writable
export = pool; /** * An allocator as used by {@link util.pool}. * @typedef PoolAllocator * @type {function} * @param {number} size Buffer size * @returns {Uint8Array} Buffer */ type PoolAllocator = (size: number) => Uint8Array; /** * A slicer as used by {@link util.pool}. * @typedef PoolSlicer * @type {function} * @param {number} start Start offset * @param {number} end End offset * @returns {Uint8Array} Buffer slice * @this {Uint8Array} */ type PoolSlicer = (this: Uint8Array, start: number, end: number) => Uint8Array; /** * A general purpose buffer pool. * @memberof util * @function * @param {PoolAllocator} alloc Allocator * @param {PoolSlicer} slice Slicer * @param {number} [size=8192] Slab size * @returns {PoolAllocator} Pooled allocator */ declare function pool(alloc: PoolAllocator, slice: PoolSlicer, size?: number): PoolAllocator;
💾 Save Changes
❌ Cancel