dart string to bytes

93

String foo = 'Hello world';
List<int> bytes = foo.codeUnits;
print(bytes);

Comments

Submit
0 Comments