mafintosh/dns-packet

Replace `Buffer` with `Uint8Array`

Open

#72 opened on Oct 15, 2021

View on GitHub
 (6 comments) (11 reactions) (0 assignees)JavaScript (76 forks)github user discovery
help wanted

Repository metrics

Stars
 (216 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently, this library cannot directly be used in non-Node environments (without Buffer polyfills). Are there any issues with switching to ArrayBuffer instead? Just wondering if such a contribution would be accepted.

Contributor guide