Class NBitStringEncoder


  • public class NBitStringEncoder
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void encode​(java.nio.ByteBuffer buffer, int prefix, java.lang.String value, boolean huffman)  
      static int octetsNeeded​(int prefix, java.lang.String value, boolean huffman)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • octetsNeeded

        public static int octetsNeeded​(int prefix,
                                       java.lang.String value,
                                       boolean huffman)
      • encode

        public static void encode​(java.nio.ByteBuffer buffer,
                                  int prefix,
                                  java.lang.String value,
                                  boolean huffman)