@xylabs/buffer
v5.0.95
Published
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Readme
@xylabs/buffer
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Reference
@xylabs/buffer
Modules
| Module | Description | | ------ | ------ | | index-browser | - | | index-node | - |
index-browser
variables
### <a id="Buffer"></a>Bufferconst Buffer: typeof Buffer;### <a id="bufferPolyfill"></a>bufferPolyfillconst bufferPolyfill: () => void;Polyfills globalThis.Buffer with the browser-compatible Buffer implementation if not already defined.
Returns
void
index-node
variables
### <a id="Buffer"></a>Bufferconst Buffer: BufferConstructor;### <a id="bufferPolyfill"></a>bufferPolyfillconst bufferPolyfill: () => void;No-op polyfill for Node.js, where Buffer is already available globally.
Returns
void
Part of sdk-js
Maintainers
License
See the LICENSE file for license details
