You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, given there's no conversion of the wrapped byte type, you should probably reach for Manifold's stream->seq fn instead of convert.
I think the docstring for convert could be a bit clearer on this, but it does mention that if the input is a stream, the stream contents must be specified.
What's missing in the docstring is the option key to accomplish this. FWIW, the option is :source-type, e.g., (convert content (seq-of bytes) {:source-type (stream-of bytes)}).
I also think returning the original input unchanged instead of throwing an IllegalArgumentException (like it says in the docstring) is a bug, but I need to make sure any fix doesn't break identity transformations. I'll have a PR soon.
When I try to convert a stream of byte arrays to a seq of byte arrays, it just returns back the original stream without doing any conversion.
The text was updated successfully, but these errors were encountered: