Method Write
Write(BinaryWriter, Byte)
Writes a single byte.
Declaration
public static void Write(this BinaryWriter writer, byte value)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | writer | The BinaryReader to write to. |
| Byte | value | The data to write. |
Write(BinaryWriter, Int32)
Writes a single int.
Declaration
public static void Write(this BinaryWriter writer, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | writer | The BinaryReader to write to. |
| Int32 | value | The data to write. |
Write(BinaryWriter, UInt64)
Writes a single ulong.
Declaration
public static void Write(this BinaryWriter writer, ulong value)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | writer | The BinaryReader to write to. |
| UInt64 | value | The data to write. |
Write(BinaryWriter, Byte[])
Writes a byte array.
Declaration
public static void Write(this BinaryWriter writer, byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | writer | The BinaryReader to write to. |
| Byte[] | bytes | The data to write. |