rustler
rustler copied to clipboard
Add from_iter to NewBinary
#702 added conformance to FromIterator to OwnedBinary, NewBinary can't do the same since it requires an Env and lacks realloc, however a function that does similarly, though with the added requirement of ExactSizeIterator would be useful.
Thanks! Would you mind adding tests for this and #702?