-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
need/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization
Description
Enhancement idea by @gammazero (extracted from ipfs/kubo#8180 (comment)):
Would it be worth implementing a multibase Decoder that would take an
io.Readerand return one as well, with a signature likeNewDecoder(io.Reader) io.ReaderThen [
ipfs multibase decode <file>] could all be done without having to read the entire file into memory.decReader := mbase.NewDecoder(file) return resp.emit(decReader)@lidel Seems like this is something that should exist, or am I missing an obvious reason it does not? Seems like a
NewDecodefunction could start reading the stream, and then construct the correct decoder and return it as anio.Reader.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
need/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization