decodeBytes method

String decodeBytes(
  1. List<int> bytes, [
  2. bool allowMalformed = false
])

Decodes bytes via RC4 encryption.

However, actually calling RC4.encodeBytes and RC4.decodeBytes will give the same result.

Implementation

String decodeBytes(List<int> bytes, [bool allowMalformed = false]) =>
    utf8.decode(_crypt(bytes), allowMalformed: allowMalformed);