Answers for "how to convert string in uint8list in dart"

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

Code answers related to "how to convert string in uint8list in dart"

Browse Popular Code Answers by Language