Synced
OwnedReadStream.ReadByte
Section titled “OwnedReadStream.ReadByte”
- 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.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.IO
Declaration
Section titled “Declaration”public override int Inno.Core.IO.OwnedReadStream.ReadByte()Exceptions
Section titled “Exceptions”Exception T:System.NotSupportedException: The stream does not support reading.
Exception T:System.ObjectDisposedException: Methods were called after the stream was closed.
Returns
Section titled “Returns”The unsigned byte cast to an T:System.Int32, or -1 if at the end of the stream.