ByteArray.fromString constructor
ByteArray.fromString(
- String string
Implementation
factory ByteArray.fromString(String string) =>
ByteArray.merge([ByteArray.u64(string.length), ByteArray(utf8.encode(string))]);