dart string to bytes

90

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

Comments

Submit
0 Comments