NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BinaryWriter.Write (Byte[])

Writes a byte array to the underlying stream.

[Visual Basic]
Overloads Public Sub Write( _
   ByVal buffer() As Byte _
)
[C#]
public void Write(
   byte[] buffer
);
[C++]
public: void Write(
   unsigned char* buffer[]
);
[JScript]
public function Write(
   buffer : Byte[]
);

Parameters

buffer
A byte array containing the data to write.

Exceptions

Exception Type Condition
IOException An I/O error occurs.
ArgumentNullException buffer is a null reference (in Visual Basic Nothing).

See Also

BinaryWriter Class | BinaryWriter Members | System.IO Namespace | BinaryWriter.Write Overload List