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])

Constructor Index

 o Util()

Method Index

 o decodeByteAsUnsigned(byte[], int)
 o decodeIntLE(byte[], int)
Decode a 32 bit integer, which is stored in Little Endian format in a byte array
 o decodeString(byte[], int, int)

Constructors

 o Util
 public Util()

Methods

 o decodeString
 public static String decodeString(byte a[],
                                   int start,
                                   int len)
 o decodeByteAsUnsigned
 public static int decodeByteAsUnsigned(byte a[],
                                        int index)
 o 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