Skip to content

Give support to typed arrays #157

@crguezl

Description

@crguezl

Thanks for the library!

Can you give support for JS BigInt64Array typed arrays? (BigInt64Array and BigUint64Array)

> var hash = require('object-hash');
> const buffer = new ArrayBuffer(24);
> const bigint64 = new BigInt64Array(buffer);
> bigint64[0] = 5886014448488689n;
5886014448488689n
> hash(bigint64)
Uncaught Error: Unknown object type "bigint64array"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions