org.codehaus.groovy.grails.web.util
Class StreamByteBuffer.StreamByteBufferChunk
java.lang.Object
org.codehaus.groovy.grails.web.util.StreamByteBuffer.StreamByteBufferChunk
- Enclosing class:
- StreamByteBuffer
class StreamByteBuffer.StreamByteBufferChunk
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamByteBuffer.StreamByteBufferChunk
public StreamByteBuffer.StreamByteBufferChunk(int size)
readToNioBuffer
public ByteBuffer readToNioBuffer()
write
public boolean write(byte b)
write
public void write(byte[] b,
int off,
int len)
read
public void read(byte[] b,
int off,
int len)
writeTo
public void writeTo(OutputStream target)
throws IOException
- Throws:
IOException
reset
public void reset()
bytesUsed
public int bytesUsed()
bytesUnread
public int bytesUnread()
read
public int read()
spaceLeft
public int spaceLeft()
Copyright (c) 2005-2009 The Grails project