paddedByteArrayString method Null safety
Pads string
to length
with zeros.
Implementation
static Uint8List paddedByteArrayString(String string, int length) {
return Util.paddedByteArray(Uint8List.fromList(utf8.encode(string)), length);
}
Pads string
to length
with zeros.
static Uint8List paddedByteArrayString(String string, int length) {
return Util.paddedByteArray(Uint8List.fromList(utf8.encode(string)), length);
}