Class MamaBuffer


  • public class MamaBuffer
    extends java.lang.Object
    Mama Assignable Buffer. The default is a ByteBuffer but can also returned as a CharBuffer.
    • Constructor Summary

      Constructors 
      Constructor Description
      MamaBuffer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] array()  
      java.nio.ByteBuffer asByteBuffer()  
      java.nio.CharBuffer asCharBuffer()  
      void grow​(int length)  
      int limit()  
      void limit​(int length)  
      • Methods inherited from class java.lang.Object

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

      • MamaBuffer

        public MamaBuffer()
    • Method Detail

      • grow

        public void grow​(int length)
      • array

        public byte[] array()
      • limit

        public int limit()
      • limit

        public void limit​(int length)
      • asCharBuffer

        public java.nio.CharBuffer asCharBuffer()
      • asByteBuffer

        public java.nio.ByteBuffer asByteBuffer()