fromStringDecoded method
Inserts unencoded raw string data to work on it.
param plainText - unencoded plain data as string.
return this object
Implementation
DummyCastle fromStringDecoded(String plainText) {
if ((plainText == null) || plainText.isEmpty) {
exception = new Exception("Empty or null argument");
error = true;
return this;
}
try {
resultBytes = Coder.getBytesSimple(plainText);
} on Exception catch (e) {
setUpError(e);
}
return this;
}