Skip to content

Provide a napi_create_buffer implementation using Buffer #171

Description

@paradowstack

The current implementation of napi_create_buffer uses a TypedArray under the hood, which has slightly different characteristics compared to a Buffer. To ensure consistency in the underlying structure, we should provide a proper implementation that aligns with the behaviour of Buffer.

Reference: Buffers and TypedArrays

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions