All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.util.ByteArrayFactory

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

public class ByteArrayFactory
extends Object
Static methods for reading and writing message byte arrays.

Copyright © 1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.3 $

Author:
unattributed

Method Index

 o fromHexString(String)
Deprecated.
 o load(byte[])
 o load(byte[], int)
 o read(DataInput)
 o save(byte[])
 o toHexdumpString(byte[])
Deprecated.
 o toHexdumpString(byte[], int, int)
Deprecated.
 o toHexString(byte[])
Deprecated.
 o toHexString(byte[], int, int)
Deprecated.
 o write(DataOutput, byte[])
 o write(DataOutput, ByteArray)

Methods

 o load
 public static byte[] load(byte buf[]) throws IOException
 o load
 public static byte[] load(byte buf[],
                           int offset) throws IOException
 o save
 public static byte[] save(byte data[]) throws IOException
 o read
 public static byte[] read(DataInput in) throws IOException
 o write
 public static void write(DataOutput out,
                          ByteArray data) throws IOException
 o write
 public static void write(DataOutput out,
                          byte data[]) throws IOException
 o toHexString
 public static String toHexString(byte buf[])
Note: toHexString() is deprecated. Use cryptix.util.core.Hex.toString(buf) instead.

 o toHexString
 public static String toHexString(byte buf[],
                                  int offset,
                                  int length)
Note: toHexString() is deprecated. Use cryptix.util.core.Hex.toString(buf, offset, length) instead.

 o toHexdumpString
 public static String toHexdumpString(byte buf[])
Note: toHexdumpString() is deprecated. Use cryptix.util.core.Hex.dumpString(buf) instead.

 o toHexdumpString
 public static String toHexdumpString(byte buf[],
                                      int offset,
                                      int length)
Note: toHexdumpString() is deprecated. Use cryptix.util.core.Hex.dumpString(buf, offset, length) instead.

 o fromHexString
 public static byte[] fromHexString(String str)
Note: fromHexString() is deprecated. Use cryptix.util.core.Hex.fromString(str) instead.


All Packages  Class Hierarchy  This Package  Previous  Next  Index