com.caucho.hessian.io
Class Hessian2Output.BytesOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.caucho.hessian.io.Hessian2Output.BytesOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
Hessian2Output

 class Hessian2Output.BytesOutputStream
extends java.io.OutputStream


Field Summary
private  int _startOffset
           
 
Constructor Summary
Hessian2Output.BytesOutputStream()
           
 
Method Summary
 void close()
           
 void write(byte[] buffer, int offset, int length)
           
 void write(int ch)
           
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_startOffset

private int _startOffset
Constructor Detail

Hessian2Output.BytesOutputStream

Hessian2Output.BytesOutputStream()
                           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

write

public void write(int ch)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] buffer,
                  int offset,
                  int length)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.OutputStream
Throws:
java.io.IOException


Copyright 2003-2011. All Rights Reserved.