Streaming decoding functions for UTF encodings.