Skip to content

Replace Buffer library #2451

@TimoGlastra

Description

@TimoGlastra

I've seen several instances where the buffer library we depend on gives weird and inconsistent behaviour. It hasn't been updated in over 5 years.

Since we only use a small part of it, I think we should replace it and find alternatives for the features we support.

The main thing is from/to string to binary. We can rely on a polyfil for React Native focused on performance: https://github.com/maksimlya/react-native-fast-encoder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions