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, int)
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. |
int | value | The data to write. |
Write(BinaryWriter, ulong)
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. |
ulong | 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. |