org.pentaho.reporting.libraries.fonts.encoding
Class CodePointStream

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.encoding.CodePointStream

public class CodePointStream
extends java.lang.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 Summary
CodePointStream(CodePointBuffer buffer, int increment)
           
 
Method Summary
 void close()
           
 void put(int b)
           
 void put(int[] b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodePointStream

public CodePointStream(CodePointBuffer buffer,
                       int increment)
Method Detail

put

public void put(int b)

put

public void put(int[] b)

close

public void close()