Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void put​(int b)  
      void put​(int[] b)  
      • Methods inherited from class java.lang.Object

        equals, 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()