converter/app/base64decoder.ts

15 lines
290 B
TypeScript

import {Converter} from './converter';
export class Base64Decoder implements Converter {
getDisplayname():string {
return "Decode Base 64";
}
getId():string {
return "base64decode";
}
convert(input:string):string {
return atob(input);
}
}