processBytes method

  1. @override
void processBytes(
  1. Uint8List? inp,
  2. int inpOff,
  3. int len,
  4. Uint8List? out,
  5. int outOff,
)
override

Process len bytes of data given by inp and starting at offset inpOff. The resulting cipher text is put in out beginning at position outOff.

Implementation

@override
void processBytes(
    Uint8List? inp, int inpOff, int len, Uint8List? out, int outOff) {
  for (var i = 0; i < len; i++) {
    out![outOff + i] = returnByte(inp![inpOff + i]);
  }
}