org.apache.poi.hpsf.littleendian
Class Byte

java.lang.Object
  |
  +--org.apache.poi.hpsf.littleendian.LittleEndian
        |
        +--org.apache.poi.hpsf.littleendian.Byte

public class Byte
extends LittleEndian

Represents a byte.

Since:
2002-02-09
Version:
$Id: Byte.java,v 1.1 2002/02/14 04:00:59 mjohnson Exp $
Author:
Rainer Klute (klute@rainer-klute.de)

Field Summary
static int LENGTH
           
 
Fields inherited from class org.apache.poi.hpsf.littleendian.LittleEndian
bytes
 
Constructor Summary
Byte(byte[] src, int offset)
          Creates a Byte and reads its value from a byte array.
 
Method Summary
 int length()
          Returns the number of bytes of this little-endian field.
 
Methods inherited from class org.apache.poi.hpsf.littleendian.LittleEndian
getBytes, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LENGTH

public static final int LENGTH
Constructor Detail

Byte

public Byte(byte[] src,
            int offset)

Creates a Byte and reads its value from a byte array.

Parameters:
src - The byte array to read from.
offset - The offset of the byte to read.
Method Detail

length

public int length()
Description copied from class: LittleEndian

Returns the number of bytes of this little-endian field.

Overrides:
length in class LittleEndian


Copyright © 2002 Apache jakarta-poi project. All Rights Reserved.