getBlockPadding abstract method

int getBlockPadding(
  1. int blockLength,
  2. Uint8List bytes
)

Computes length of padding.

Returns -1 if padding is invalid.

Implementation

int getBlockPadding(int blockLength, Uint8List bytes);