Package org.w3c.tidy

Interface EncodingUtils.GetBytes

  • Enclosing class:
    EncodingUtils

    static interface EncodingUtils.GetBytes
    Getter callback: called to retrieve 1 or more additional UTF-8 bytes. The Getter callback can also unget if necessary to re-synchronize the input stream.
    • Method Detail

      • doGet

        void doGet​(int[] buf,
                   int[] count,
                   boolean unget)
        Get one or more byte.
        Parameters:
        buf - will contain the bytes.
        count - number of bytes actually stored in "buf". <= 0 if error or EOF
        unget - unget bytes?