Share via


MemoryStream.ReadByte Method

Reads a byte from the current stream.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public override int ReadByte ()

Return Value

The byte cast to a Int32, or -1 if the end of the stream has been reached.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.

See Also

Reference

MemoryStream Class
MemoryStream Members
System.IO Namespace