Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.io
Class Byte4ByteDebugStreams  view Byte4ByteDebugStreams download Byte4ByteDebugStreams.java

java.lang.Object
  extended byjava.io.OutputStream
      extended bycom.anotherbigidea.io.Byte4ByteDebugStreams

public class Byte4ByteDebugStreams
extends java.io.OutputStream


Field Summary
protected  int bytePtr
           
protected  byte[] bytesIn
           
protected  byte[] bytesOut
           
protected  java.io.ByteArrayInputStream in
           
 
Constructor Summary
Byte4ByteDebugStreams(byte[] bytesIn)
           
Byte4ByteDebugStreams(java.lang.String filenameIn)
           
 
Method Summary
 java.io.InputStream getInputStream()
           
 void setInputBytes(byte[] inBytes)
           
 void write(int b)
          This method writes a single byte to the output stream.
 void write(java.lang.String filenameOut)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

protected java.io.ByteArrayInputStream in

bytesIn

protected byte[] bytesIn

bytesOut

protected byte[] bytesOut

bytePtr

protected int bytePtr
Constructor Detail

Byte4ByteDebugStreams

public Byte4ByteDebugStreams(java.lang.String filenameIn)
                      throws java.lang.Exception

Byte4ByteDebugStreams

public Byte4ByteDebugStreams(byte[] bytesIn)
Method Detail

getInputStream

public java.io.InputStream getInputStream()

setInputBytes

public void setInputBytes(byte[] inBytes)

write

public void write(int b)
           throws java.io.IOException
Description copied from class: java.io.OutputStream
This method writes a single byte to the output stream. The byte written is the low eight bits of the int passed and a argument.

Subclasses must provide an implementation of this abstract method


write

public void write(java.lang.String filenameOut)
           throws java.io.IOException