com.caucho.util
Interface ByteAppendable

All Known Implementing Classes:
AbstractResponseStream, BinaryBuilderValue, BinaryValue, BodyResponseStream, CompiledConstStringValue, ConstStringValue, FastCgiResponseStream, FilterWrapperResponseStream, HmuxResponseStream, HttpResponseStream, IncludeResponseStream2, LargeStringBuilderValue, NullWriteStream, OutputStreamWithBuffer, ResponseStream, StreamWrapperResponseStream, StringBuilderValue, StringValue, StubResponseStream, ToByteResponseStream, ToCharResponseStream, UnicodeBuilderValue, UnicodeValue, UnicodeValueImpl, UnsetBinaryValue, UnsetStringValue, UnsetUnicodeValue, WrapperResponseStream, WriteStream

public interface ByteAppendable

Interface for appending bytes to buffer or an output stream.


Method Summary
 void write(byte[] buffer, int offset, int len)
          Appends buffer to the ByteAppendable.
 void write(int value)
          Appends value to the ByteAppendable.
 

Method Detail

write

void write(int value)
           throws java.io.IOException
Appends value to the ByteAppendable.

Throws:
java.io.IOException

write

void write(byte[] buffer,
           int offset,
           int len)
           throws java.io.IOException
Appends buffer to the ByteAppendable.

Throws:
java.io.IOException