com.jeffpalm.basic.bytecode
Interface ICodeStream

All Known Implementing Classes:
FileCodeStream

public interface ICodeStream


Method Summary
 void close()
           
 void flush()
           
 void setDebug(boolean debug)
           
 void write(byte[] bs)
           
 void write(byte[] bs, java.lang.String msg)
           
 void write(Iu1 u)
           
 void write(Iu1[] u)
           
 void write(Iu1[] u, java.lang.String msg)
           
 void write(Iu1 u, java.lang.String msg)
           
 void write(Iu2 u)
           
 void write(Iu2 u, java.lang.String msg)
           
 void write(Iu4 u)
           
 void write(Iu4 u, java.lang.String msg)
           
 void writeU1(byte val)
           
 void writeU1(byte val, java.lang.String msg)
           
 void writeU2(short val)
           
 void writeU2(short val, java.lang.String msg)
           
 void writeU4(int val)
           
 void writeU4(int val, java.lang.String msg)
           
 

Method Detail

write

void write(Iu1 u)
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(Iu1 u,
           java.lang.String msg)
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(Iu1[] u)
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(Iu1[] u,
           java.lang.String msg)
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(Iu2 u)
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(Iu2 u,
           java.lang.String msg)
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(Iu4 u)
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(Iu4 u,
           java.lang.String msg)
           throws java.io.IOException
Throws:
java.io.IOException

writeU1

void writeU1(byte val)
             throws java.io.IOException
Throws:
java.io.IOException

writeU1

void writeU1(byte val,
             java.lang.String msg)
             throws java.io.IOException
Throws:
java.io.IOException

writeU2

void writeU2(short val)
             throws java.io.IOException
Throws:
java.io.IOException

writeU2

void writeU2(short val,
             java.lang.String msg)
             throws java.io.IOException
Throws:
java.io.IOException

writeU4

void writeU4(int val)
             throws java.io.IOException
Throws:
java.io.IOException

writeU4

void writeU4(int val,
             java.lang.String msg)
             throws java.io.IOException
Throws:
java.io.IOException

write

void write(byte[] bs)
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(byte[] bs,
           java.lang.String msg)
           throws java.io.IOException
Throws:
java.io.IOException

flush

void flush()
           throws java.io.IOException
Throws:
java.io.IOException

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException

setDebug

void setDebug(boolean debug)