Skip to content

Add support for Uint8Array's in place of node Buffer's to ipfs-unixfs-importer #56

Closed
@Gozala

Description

@Gozala

I glanced through the implementation and it seems that dependence is inherited from use of following libraries

There are few lines that also use Buffer directly but there Uint8Array would have done just fine as well.

Trying to actually remove here might be difficult, however we could probably just remove it from the API surface and turn Uint8Arrays into Buffers internally where needed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions