DamonOehlman / filestream

W3C File Reader API streaming interfaces
30 stars 11 forks source link

Current Metadata Approach not compatible with multlplexer #13

Closed DamonOehlman closed 9 years ago

DamonOehlman commented 9 years ago

I'm making some assumptions on how the data is sent through the pipe, namely that strings sent get deserialized as strings (typeof string works). This isn't the case so I need to make some changes...

DamonOehlman commented 9 years ago

I think it's time to strip back filestream to be "not metadata aware" and create another package which extends the read and write implementations to interrogate the file and include relevant metadata. At the base level the filestream will call a _encodeHeaderBlocks() on the reader and a _decodeHeaderBlocks() on the writer. The base implementations of each will do nothing.

DamonOehlman commented 9 years ago

Done and releases as filestream@3.0.0