setBlockPadding abstract method

void setBlockPadding(
  1. int blockLength,
  2. Uint8List bytes,
  3. int start
)

Fills bytes with padding, starting at start.

Throws ArgumentError if:

  • blockBytes length is less than 2.
  • paddingLength is less than 0 or greater than the length of the block.

Implementation

void setBlockPadding(
  int blockLength,
  Uint8List bytes,
  int start,
);