org.pentaho.reporting.libraries.fonts
Class LEByteAccessUtilities

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.LEByteAccessUtilities

public class LEByteAccessUtilities
extends java.lang.Object

Reads byte-data using a Little-Endian access schema. Little-Endian is used for Type1 fonts.

Author:
Thomas Morgner

Method Summary
static int readLong(byte[] data, int pos)
           
static long readLongDateTime(byte[] data, int pos)
           
static short readShort(byte[] data, int pos)
           
static long readULong(byte[] data, int pos)
           
static int readUShort(byte[] data, int pos)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readUShort

public static int readUShort(byte[] data,
                             int pos)

readULong

public static long readULong(byte[] data,
                             int pos)

readLongDateTime

public static long readLongDateTime(byte[] data,
                                    int pos)

readShort

public static short readShort(byte[] data,
                              int pos)

readLong

public static int readLong(byte[] data,
                           int pos)