PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / Stream Class / readByte Method
Collapse All Expand All
In This Topic

readByte Method
In This Topic
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Syntax

    public int readByte()

#### Return Value

The unsigned byte cast to an Int32, or -1 if at the end of the stream.
See Also

#### Reference

Stream Class
Stream Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.