Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

fix: replace remaining Buffer usage with Uint8Array #62

Merged
merged 2 commits into from
Aug 24, 2020

Conversation

jacobheun
Copy link
Contributor

@jacobheun jacobheun commented Aug 23, 2020

This replaces the remaining usages of Buffer with Uint8Array.

BREAKING CHANGE: this changes the API of records and updates several tests to use Uint8Arrays

required by libp2p/js-libp2p#730

BREAKING CHANGE: records now marshal as Uint8Array instead of Buffer
Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jacobheun jacobheun merged commit 4130e7f into master Aug 24, 2020
@jacobheun jacobheun deleted the fix/uint8array branch August 24, 2020 10:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants