C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System.IO
BinaryWriter Class
BinaryWriter Methods
Write Method
Write Method (Boolean)
Write Method (Byte)
Write Method (Byte[])
Write Method (Char)
Write Method (Char[])
Write Method (Decimal)
Write Method (Double)
Write Method (Int16)
Write Method (Int32)
Write Method (Int64)
Write Method (SByte)
Write Method (Single)
Write Method (String)
Write Method (UInt16)
Write Method (UInt32)
Write Method (UInt64)
Write Method (Byte[], Int32, Int32)
Write Method (Char[], Int32, Int32)
BinaryWriter
Write Method (
Byte
)
Writes a byte array to the underlying stream.
Namespace:
System.IO
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
virtual
void
Write
(
byte
[]
buffer
)
Parameters
buffer
Type:
System
Byte
A byte array containing the data to write.
Exceptions
Exception
Condition
IOException
An I/O error occurs.
ObjectDisposedException
The stream is closed.
ArgumentNullException
buffer
is null.
See Also
Reference
BinaryWriter Class
Write Overload
System.IO Namespace