Description:
Add following helper methods to convert ASCII bytes to EBCDIC bytes and vice versa in copybook module
# Converts a byte array encoded in EBCDIC to a byte array encoded in ASCII.
#
# + ebcdic - The input byte array encoded in EBCDIC
# + return - The output byte array encoded in ASCII
public function toAsciiBytes(byte[] ebcdic) returns byte[] {
// ...
}
# Converts a byte array encoded in ASCII to a byte array encoded in EBCDIC.
#
# + ascii - The input byte array encoded in ASCII
# + return - The output byte array encoded in EBCDIC
public function toEbcdicBytes(byte[] ascii) returns byte[] {
// ...
}
Description: Add following helper methods to convert ASCII bytes to EBCDIC bytes and vice versa in copybook module
Describe your problem(s)
Describe your solution(s)
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):