Class InputAccessor.Std

    • Field Detail

      • _buffer

        protected final byte[] _buffer
      • _bufferedAmount

        protected int _bufferedAmount
        Number of bytes in _buffer that are valid buffered content.
      • _ptr

        protected int _ptr
        Pointer to next available buffered byte in _buffer.
    • Constructor Detail

      • Std

        public Std​(InputStream in,
                   byte[] buffer)
        Constructor used when content to check is available via input stream and must be read.
      • Std

        public Std​(byte[] inputDocument)
        Constructor used when the full input (or at least enough leading bytes of full input) is available.