Class cryptix.util.ByteArray
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.util.ByteArray

java.lang.Object
   |
   +----cryptix.util.ByteArray

public class ByteArray
extends Object
A class that represents a byte array

Variable Index

 o data

Constructor Index

 o ByteArray(byte[])
 o ByteArray(byte[], boolean)

Method Index

 o equals(Object)
 o hashCode()
 o length()
 o theSame(byte[], byte[])
 o toByteArray()
 o toString()

Variables

 o data
  protected byte data[]

Constructors

 o ByteArray
  public ByteArray(byte buf[],
                   boolean copy)
 o ByteArray
  public ByteArray(byte buf[])

Methods

 o length
  public int length()
 o hashCode
  public int hashCode()
Overrides:
hashCode in class Object
 o equals
  public boolean equals(Object obj)
Overrides:
equals in class Object
 o toString
  public String toString()
Overrides:
toString in class Object
 o toByteArray
  public byte[] toByteArray()
 o theSame
  public static boolean theSame(byte data1[],
                                byte data2[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index