blob: ae7f93423704e5386e6fa6f7596cfa7bebc6384c [file] [log] [blame]
{
"classLoaderSharing" : "workflow",
"script" : "if ((bytes == void) || (bytes == null)) {\n\tthrow new RuntimeException(\"The 'bytes' parameter must be specified\");\n}\nif (encoding == void) {\n\tstring = new String(bytes);\n} else {\n\tstring = new String(bytes, encoding);\n}\n",
"localworkerName" : "org.embl.ebi.escience.scuflworkers.java.ByteArrayToString",
"inputPorts" : [ {
"name" : "bytes",
"depth" : 0,
"type" : "byte[]"
}, {
"name" : "encoding",
"depth" : 0,
"type" : "String"
} ],
"outputPorts" : [ {
"name" : "string",
"depth" : 0,
"granularDepth" : 0
} ],
"isAltered" : false
}