Oops oops, a side effect of this is that we'll probably need to add the vec + collections submodules too. For any Node peeps reading along: essentially making a std version of concat-stream that works with buffers, vectors, hashmaps and types defined in userland!
-
-
Show this thread
-
Would be able to do: let my_stream = stream::repeat(7) .take(5); let buf: Vec<u8> = my_stream .collect() .await; assert_eq!(buf, vec![7u8; 5]);
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.