All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.upokecenter.util.IByteReader Maven / Gradle / Ivy

Go to download

A Java library that implements character encodings used in Web pages and email.

There is a newer version: 0.6.0
Show newest version
package com.upokecenter.util;
/*
Written by Peter O. in 2014.
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
If you like this, you should donate to Peter O.
at: http://peteroupc.github.io/
 */

    /**
     * A generic interface for reading data one byte at a time.
     */
  public interface IByteReader {
    /**
     * Reads a byte from the data source.
     * @return The byte read (from 0 through 255), or -1 if the end of the source
     * is reached.
     */
    int read();
  }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy