Class InputAccessor.Std

    • Field Detail

      • _buffer

        protected final byte[] _buffer
      • _bufferedStart

        protected final int _bufferedStart
      • _bufferedEnd

        protected int _bufferedEnd
        End of valid bytes in the buffer (points to one past last valid)
      • _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.
      • Std

        public Std​(byte[] inputDocument,
                   int start,
                   int len)
        Constructor used when the full input (or at least enough leading bytes of full input) is available.
        Since:
        2.1