java.lang.Object
org.pentaho.reporting.libraries.fonts.encoding.ByteBuffer
All Implemented Interfaces:
Serializable

public class ByteBuffer extends Object implements Serializable
A simple byte buffer. The length specifies the fill level of the data-array.
Author:
Thomas Morgner
See Also:
  • 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)