This bug affects nodejs/test-environments Excerpt from [block.js](https://github.com/multiformats/js-multiformats/blob/4a36fb7ee49edb4300267b90301ef0e4300cbc46/src/block.js#L182C38-L182C38) ```js const bytes = codec.encode(value) // <-- Returns node:Buffer const hash = await hasher.digest(bytes) // !!! <-- Throws if not Uint8Array ``` Platform agnostic proposal: ```js let bytes = codec.encode(value) if (!(bytes instanceof Uint8Array) && bytes?.buffer) bytes = new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.byteLength) const hash = await hasher.digest(bytes) ``` I'll monkeypatch for now. Please take it from here, thanks.