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 (
         bytevalue
)

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, and 4.1.

See Also

Reference

MemoryStream Class
MemoryStream Members
System.IO Namespace