ipfs / helia

An implementation of IPFS in JavaScript
https://helia.io
Other
811 stars 81 forks source link

Provide convenience wrappers for adding/reading IPLD blocks of raw bytes #534

Open ranile opened 1 month ago

ranile commented 1 month ago

Similar to @helia/strings (and others), I would like to have a package that takes a Uint8Array for add and returns a Uint8Array for get

This is particularly helpful when dealing with files that aren't text files (e.g. images). I want to be able to upload an image as-is without needed the costly conversion to/from base64