
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@xylabs/arraybuffer
Advanced tools
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
@xylabs/arraybuffer
function equalArrayBuffers(a1, a2): boolean;
ArrayBufferLike
ArrayBufferLike
boolean
function isArrayBuffer(value): value is ArrayBuffer;
unknown
value is ArrayBuffer
function isArrayBufferLike(value): value is ArrayBufferLike;
unknown
value is ArrayBufferLike
function toArrayBuffer(
value,
padLength?,
base?): undefined;
undefined
number
number
undefined
function toArrayBuffer(
value,
padLength?,
base?): ArrayBufferLike;
string | bigint | ArrayBufferLike
number
number
ArrayBufferLike
function toArrayBuffer(
value,
padLength?,
base?): undefined | ArrayBufferLike;
undefined | string | bigint | ArrayBufferLike
number
number
undefined | ArrayBufferLike
function toUint8Array(
value,
padLength?,
base?): undefined;
undefined
number
number
undefined
function toUint8Array(
value,
padLength?,
base?): Uint8Array;
string | bigint | ArrayBufferLike
number
number
Uint8Array
function toUint8Array(
value,
padLength?,
base?): undefined | Uint8Array<ArrayBufferLike>;
undefined | string | bigint | ArrayBufferLike
number
number
undefined | Uint8Array<ArrayBufferLike>
Part of sdk-js
See the LICENSE file for license details
FAQs
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
The npm package @xylabs/arraybuffer receives a total of 9,580 weekly downloads. As such, @xylabs/arraybuffer popularity was classified as popular.
We found that @xylabs/arraybuffer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.