Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • 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.

API: engine
Project: Inno.Core.IO

public override int Inno.Core.IO.OwnedReadStream.ReadByte()

Exception T:System.NotSupportedException: The stream does not support reading.

Exception T:System.ObjectDisposedException: Methods were called after the stream was closed.

The unsigned byte cast to an T:System.Int32, or -1 if at the end of the stream.