Package com.github.jinahya.bit.io
Interface ByteInput
-
- All Known Implementing Classes:
AbstractByteInput
,ArrayByteInput
,BufferByteInput
,DataByteInput
,StreamByteInput
public interface ByteInput
An interface for reading bytes.- Author:
- Jin Kwon <jinahya_at_gmail.com>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
read()
Reads an unsigned 8-bit value.
-
-
-
Method Detail
-
read
int read() throws IOException
Reads an unsigned 8-bit value.- Returns:
- an unsigned 8-bit value; between
0
and255
, both inclusive. - Throws:
IOException
- if an I/O error occurs.
-
-