ontology_dart_sdk
common
Convert
strToBytes method
strToBytes
Convert class
Constructors
Convert
Properties
hashCode
runtimeType
Methods
noSuchMethod
toString
Operators
operator ==
Static methods
base64ToBytes
bigIntToBytes
bytesToBase64
bytesToBigInt
bytesToHexStr
bytesToStr
hexStrToBigInt
hexStrToBytes
hexStrToStr
strToBytes
strToBytes method
Uint8List
strToBytes
(
String
str
)
Implementation
static Uint8List strToBytes(String str) { return Uint8List.fromList(Utf8Encoder().convert(str)); }