Share via


MemoryStream.WriteByte Method

Writes a byte to the current stream at the current position.

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

Syntax

public override void WriteByte (
         byte value
)

Parameters

  • value
    The byte to write.

Remarks

This method overrides WriteByte. Except for a MemoryStream constructed with a byte[] parameter, write operations at the end of a MemoryStream expand the MemoryStream.

Version Information

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

See Also

Reference

MemoryStream Class
MemoryStream Members
System.IO Namespace