toUInt8List method
Implementation
Uint8List toUInt8List() {
trim();
BytesBuilder bb = BytesBuilder();
for (int i = 0; i < getSize(); i += 8) {
bb.addByte(getBits(i, min(8, getSize() - i)));
}
return bb.toBytes();
}
Uint8List toUInt8List() {
trim();
BytesBuilder bb = BytesBuilder();
for (int i = 0; i < getSize(); i += 8) {
bb.addByte(getBits(i, min(8, getSize() - i)));
}
return bb.toBytes();
}