java.lang.Object
org.pentaho.reporting.libraries.fonts.encoding.ByteStream

public class ByteStream extends Object
This is a wrapper around a byte buffer to allows streaming operations. This preserves my sanity, as managing arrays with irregular encodings is hell.
Author:
Thomas Morgner
  • Constructor Details

    • ByteStream

      public ByteStream(ByteBuffer buffer, int increment)
  • Method Details

    • put

      public void put(byte b)
    • put

      public void put(byte[] b)
    • get

      public byte get()
    • close

      public void close()
    • getReadSize

      public int getReadSize()