com.dalsemi.comm
Class DebugOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--com.dalsemi.comm.DebugOutputStream

public class DebugOutputStream
extends java.io.OutputStream

This class sends data to the debug port. This port is shared with the internal 1-Wire port


Constructor Summary
DebugOutputStream()
           
 
Method Summary
 void write(byte[] barr, int offset, int length)
          Writes the specified array to this output stream.
 void write(int b)
          Writes the specified byte to this output stream.
 
Methods inherited from class java.io.OutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugOutputStream

public DebugOutputStream()
Method Detail

write

public void write(int b)
           throws java.io.IOException
Writes the specified byte to this output stream.
Parameters:
b - data to be written.
Throws:
IOException -  
Overrides:
write in class java.io.OutputStream

write

public void write(byte[] barr,
                  int offset,
                  int length)
           throws java.io.IOException
Writes the specified array to this output stream. This method was included this so that the null write routines wouldn't get bogged down in the array accesses calling write.
Parameters:
barr - array containing data to be written.
offset - offset into array
number - of bytes to be written
Throws:
IOException -  
Overrides:
write in class java.io.OutputStream