Class ByteBuffer
java.lang.Object
org.pentaho.reporting.libraries.fonts.encoding.ByteBuffer
- All Implemented Interfaces:
Serializable
A simple byte buffer. The length specifies the fill level of the data-array.
- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
ConstructorDescriptionByteBuffer
(byte[] data) ByteBuffer
(byte[] data, int offset, int length) ByteBuffer
(int length) -
Method Summary
-
Constructor Details
-
ByteBuffer
public ByteBuffer(int length) -
ByteBuffer
public ByteBuffer(byte[] data) -
ByteBuffer
public ByteBuffer(byte[] data, int offset, int length)
-
-
Method Details
-
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)
-