org.pentaho.reporting.libraries.fonts.encoding
Class ByteBuffer
java.lang.Object
org.pentaho.reporting.libraries.fonts.encoding.ByteBuffer
- All Implemented Interfaces:
- java.io.Serializable
public class ByteBuffer
- extends java.lang.Object
- implements java.io.Serializable
A simple byte buffer. The length specifies the fill level of the data-array.
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteBuffer
public ByteBuffer(int length)
ByteBuffer
public ByteBuffer(byte[] data)
ByteBuffer
public ByteBuffer(byte[] data,
int offset,
int length)
getData
public byte[] getData()
setData
public void setData(byte[] data,
int length,
int offset)
getLength
public int getLength()
getOffset
public int getOffset()
getCursor
public int getCursor()
ensureSize
public void ensureSize(int length)
setCursor
public void setCursor(int cursor)