com.github.libxjava.io
Class ByteArrayBuffer
java.lang.Object
com.github.libxjava.io.ByteArrayBuffer
public final class ByteArrayBuffer
- extends Object
- Version:
- libxjava-cdc - 0.1
- Author:
- Marcel Patzlaff
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayBuffer
public ByteArrayBuffer(int bufSize)
ByteArrayBuffer
public ByteArrayBuffer(int bufSize,
long frameReadTimeout,
long frameWriteTimeout)
capacity
public int capacity()
getReader
public ByteArrayBuffer.Reader getReader()
getWriter
public ByteArrayBuffer.Writer getWriter()
internalWrite
protected void internalWrite(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
internalCloseWriter
protected void internalCloseWriter()
internalMarkComplete
protected void internalMarkComplete()
internalMarkIncomplete
protected void internalMarkIncomplete()
internalRead
protected int internalRead(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
internalAvailable
protected int internalAvailable()
internalMark
protected void internalMark(int readlimit)
internalReset
protected void internalReset()
throws IOException
- Throws:
IOException
internalSpace
protected int internalSpace()
Copyright © 2010 Marcel Patzlaff. All Rights Reserved.