Class VariableLengthIntBuffer


  • public class VariableLengthIntBuffer
    extends java.lang.Object
    Experimental API. May change without notice. Simple variable length unsigned int buffer backed by a byte buffer.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int NULL  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int get()  
      java.nio.ByteBuffer getBuffer()
      Returns the backing byte buffer.
      byte[] getBytes()  
      boolean hasRemaining()  
      void put​(int i)  
      • Methods inherited from class java.lang.Object

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

      • VariableLengthIntBuffer

        public VariableLengthIntBuffer​(java.nio.ByteBuffer buffer)
      • VariableLengthIntBuffer

        public VariableLengthIntBuffer​(byte[] array)
    • Method Detail

      • getBuffer

        public java.nio.ByteBuffer getBuffer()
        Returns the backing byte buffer.
      • getBytes

        public byte[] getBytes()
      • get

        public int get()
      • put

        public void put​(int i)
      • hasRemaining

        public boolean hasRemaining()