Class AbstractStreamWriter

java.lang.Object
org.glassfish.grizzly.streams.AbstractStreamWriter
All Implemented Interfaces:
Closeable, AutoCloseable, Stream, StreamWriter
Direct Known Subclasses:
DefaultStreamWriter, TransformerStreamWriter

public abstract class AbstractStreamWriter extends Object implements StreamWriter
Write the primitive Java type to the current ByteBuffer. If it doesn't fit, call the BufferHandler, and write to the result, which becomes the new current ByteBuffer. Arrays will be written across multiple ByteBuffers if necessary, but all primitives will be written to a single ByteBuffer.
Author:
Ken Cavanaugh