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
core::str::validations::next_code_point only accepts an Iterator<Item=&u8>. Unfortunately my code that needs to convert a byte stream to characters can only have an Iterator<Item=u8>. My specific use case is a string constant stored in progmem on an AVR (Arduino Uno), which requires special machine code to access, because the data exists in a separate address space from regular RAM. Other use cases could include streaming decompression or decryption. For now I have duplicated the code for next_code_point and embedded it in my application, but it would be nice to be able to use reuse the same code as the standard library.