Answers for "dart string to uint8list"

2

flutter string to uint8list

List<int> list = 'xxx'.codeUnits;
Uint8List bytes = Uint8List.fromList(list);
String string = String.fromCharCodes(bytes);
Posted by: Guest on April-08-2021

Browse Popular Code Answers by Language