BinaryWriter.Write Method (Byte())
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Writes a byte array to the underlying stream.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- buffer
- Type:
System.Byte
()
A byte array containing the data to write.
| Exception | Condition |
|---|---|
| IOException | An I/O error occurs. |
| ObjectDisposedException | The stream is closed. |
| ArgumentNullException | buffer is Nothing. |
Show: