@rustlang how hard did you have to make it to extract 2 chars at a time from a string using an iterator 
@00101010b well, two at a time is harder than usual because what if the string isn't divisible by two?
-
-
@rustlang in this case it is. It's a hex digest that I want to split up into it's individual bytes, i.e: bytes[0] = 'AF' and so on.. -
@00101010b oh, then use .bytes! It gives you an iterator over each byte. Vec<u8> is a better type than strings, which require UTF8
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.