Skip to content

Investigate Uint8Array as replacement for Buffer #273

Description

@viglucci

We should look into using Uint8Array as an alternative to Buffer since from what I am reading it is supported in both Browser & Node runtimes.

Motivation

Simplify usage of rsocket-js in browser environments.

Desired solution

Replace Buffer usage with Uint8Array.

Considered alternatives

Continue using Buffer and provide stronger guidance that Browser use-cases will require polyfill.

Additional context

Activity

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

Metadata

Metadata

Assignees

Labels

1.0Pullrequests & issues related to the Typescript rewrite and 1.0 releaseenhancementSuggests, requests, or implements a feature or enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions