Answers for "Convert string to Uint8List in flutter"

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 "Convert string to Uint8List in flutter"

Browse Popular Code Answers by Language