Class NBitInteger


  • public class NBitInteger
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      NBitInteger()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int decode​(java.nio.ByteBuffer buffer, int n)  
      static void encode​(java.nio.ByteBuffer buf, int n, int i)  
      static int octectsNeeded​(int n, int i)  
      • Methods inherited from class java.lang.Object

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

      • NBitInteger

        public NBitInteger()
    • Method Detail

      • octectsNeeded

        public static int octectsNeeded​(int n,
                                        int i)
      • encode

        public static void encode​(java.nio.ByteBuffer buf,
                                  int n,
                                  int i)
      • decode

        public static int decode​(java.nio.ByteBuffer buffer,
                                 int n)