Buffer is node only, while Uint8Array is part of ES spec and available on browser and Node. Because of this, I use Uint8Array everywhere rather than Buffer. It would be nice if a library similar to this one existed that supported Uint8Array rather than Buffer.
Bufferis node only, whileUint8Arrayis part of ES spec and available on browser and Node. Because of this, I useUint8Arrayeverywhere rather thanBuffer. It would be nice if a library similar to this one existed that supportedUint8Arrayrather thanBuffer.