What I need to do is Convert a String to byte array with ASCII encoding… I’m using Swift and I can see the utf-8, utf-16 and unicodeScalars but no Ascii encoding found for String.
How can I do it? For example for a string like “ID00000004” the content of the bytes should be “49443030303030303034”
Can you help me? Thanks in advance