com.a2zss.ISO8583
Class EBCDIC
java.lang.Object
com.a2zss.ISO8583.EBCDIC
public class EBCDIC
- extends java.lang.Object
Method Summary |
static byte |
fromAscii(byte ascii)
|
static byte[] |
fromAscii(byte[] ascii)
|
static byte[] |
fromAscii(byte[] ascii,
int offs,
int len)
|
static byte |
toAscii(byte ebcdic)
|
static byte[] |
toAscii(byte[] ebcdic)
|
static byte[] |
toAscii(byte[] ebcdic,
int offs,
int len)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EBCDIC
public EBCDIC()
toAscii
public static final byte toAscii(byte ebcdic)
- Parameters:
ebcdic
-
- Returns:
- ascii equivalent
toAscii
public static final byte[] toAscii(byte[] ebcdic)
toAscii
public static final byte[] toAscii(byte[] ebcdic,
int offs,
int len)
- Parameters:
ebcdic
- offs
- len
-
- Returns:
- ascii bytes
fromAscii
public static final byte fromAscii(byte ascii)
- Parameters:
ascii
-
- Returns:
- ebcdic equivalent
fromAscii
public static final byte[] fromAscii(byte[] ascii)
fromAscii
public static final byte[] fromAscii(byte[] ascii,
int offs,
int len)
- Parameters:
ascii
- offs
- len
-
- Returns:
- bytes in ebcdic
Copyright © 2002-2010 AZS Services Ltd. All Rights Reserved.