All Packages Class Hierarchy This Package Previous Next Index
Class semper.payment.mandate.Util
java.lang.Object
|
+----semper.payment.mandate.Util
- public class Util
- extends Object
Implementation of utility functions
- Version:
- $Revision: 1.1 $ $Date: 1998/10/01 14:43:21 $
- Author:
- Bjarke Dahl Ebert ([email protected])
-
Util()
-
-
decodeByteAsUnsigned(byte[], int)
-
-
decodeIntLE(byte[], int)
- Decode a 32 bit integer, which is stored in Little Endian format
in a byte array
-
decodeString(byte[], int, int)
-
Util
public Util()
decodeString
public static String decodeString(byte a[],
int start,
int len)
decodeByteAsUnsigned
public static int decodeByteAsUnsigned(byte a[],
int index)
decodeIntLE
public static int decodeIntLE(byte a[],
int index)
- Decode a 32 bit integer, which is stored in Little Endian format
in a byte array
- Parameters:
- a - The byte array in which the integer is stored
- index - The index of the first of four bytes of the integer
- Returns:
- The decoded integer
All Packages Class Hierarchy This Package Previous Next Index