org.jfree.fonts

Class ByteAccessUtilities


public class ByteAccessUtilities
extends java.lang.Object

Creation-Date: 06.11.2005, 18:46:43
Author:
Thomas Morgner

Method Summary

static void
main(String[] args)
static byte[]
readBytes(byte[] data, int pos, int length)
static int
readLong(byte[] data, int pos)
static long
readLongDateTime(byte[] data, int pos)
static short
readShort(byte[] data, int pos)
static String
readString(byte[] data, int pos, int length, String encoding)
static long
readULong(byte[] data, int pos)
static int
readUShort(byte[] data, int pos)
static String
readUnicode(byte[] data, int pos, int length)

Method Details

main

public static void main(String[] args)

readBytes

public static byte[] readBytes(byte[] data,
                               int pos,
                               int length)

readLong

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

readLongDateTime

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

readShort

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

readString

public static String readString(byte[] data,
                                int pos,
                                int length,
                                String encoding)
            throws UnsupportedEncodingException

readULong

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

readUShort

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

readUnicode

public static String readUnicode(byte[] data,
                                 int pos,
                                 int length)