Class SerialByteBuffer


  • public class SerialByteBuffer
    extends Object
    This class implements a dynamic expanding byte buffer to accommodate new data received from the serial port Adapted from sources at: http://ostermiller.org/utils/src/CircularByteBuffer.java.html Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
    • Field Detail

      • DEFAULT_BUFFER_SCALE_FACTOR

        public static int DEFAULT_BUFFER_SCALE_FACTOR
      • DEFAULT_INITIAL_BUFFER_SIZE

        public static int DEFAULT_INITIAL_BUFFER_SIZE
    • Constructor Detail

      • SerialByteBuffer

        public SerialByteBuffer()
      • SerialByteBuffer

        public SerialByteBuffer​(int initialCapacity)