Hello,
I need to convert a String
to an Iterator<Item=u8>
. String::bytes(&self)
doesn't work for me, because it only borrows the String
, whcih is left behind and does not live long enough. Is there a way to convert a String
to an Iterator<Item=u8>
that owns the String
? Thanks!
Best, Oliver