padCount method
Get the number of pad bytes present in the block.
Implementation
@override
int padCount(Uint8List data) {
int count = data.length;
while (count > 0) {
if (data[count - 1] != 0) {
break;
}
count--;
}
return data.length - count;
}