]> zoso.dev Git - buffer.git/commit
Types: Using Uint8Array instead of Buffer
authorMartin Heidegger <martin.heidegger@gmail.com>
Sat, 21 Nov 2020 02:05:07 +0000 (11:05 +0900)
committerGitHub <noreply@github.com>
Sat, 21 Nov 2020 02:05:07 +0000 (11:05 +0900)
commit7aa04d6951870fed0b021981963b48fabbc01660
tree281257ba2cdfb1f2eb1b36c518da582b0d65cac1
parent2b1286b3e0c61f22d68c9f7bdca2c11012d87dfe
Types: Using Uint8Array instead of Buffer

The API supports at various places to use Uint8Arrays to be used instead of Buffers. This PR loosens the type restrictions on a few instances where I noticed that an Uint8Array would suffice.
index.d.ts