com.sun.comm
Class Util

java.lang.Object
  extended bycom.sun.comm.Util

public class Util
extends java.lang.Object

Utility methods for javax.comm


Constructor Summary
Util()
           
 
Method Summary
static void hexdump(byte[] buf, int size)
          Creates a formated hexdump of a buffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

hexdump

public static void hexdump(byte[] buf,
                           int size)
Creates a formated hexdump of a buffer

Parameters:
buf - An array of bytes to dump
size - Number of bytes to dump