Share via


WriteByte Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public Overrides Sub WriteByte ( _
    value As Byte _
)
public override void WriteByte(
    byte value
)
public:
virtual void WriteByte(
    unsigned char value
) override
abstract WriteByte : 
        value:byte -> unit 
override WriteByte : 
        value:byte -> unit 
public override function WriteByte(
    value : byte
)

Parameters

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.

.NET Framework Security

See Also

Reference

MemoryStream Class

System.IO Namespace