Documentation

Unity Engine

Unity Engine

Write

Writes a single byte.
Read time 1 minuteLast updated 5 days ago

Definition

Write(BinaryWriter, byte)

Writes a single byte.
public static void Write(this BinaryWriter writer, byte value)

Parameters

The BinaryReader to write to.

value

The data to write.

Write(BinaryWriter, int)

Writes a single int.
public static void Write(this BinaryWriter writer, int value)

Parameters

The BinaryReader to write to.

value

The data to write.

Write(BinaryWriter, ulong)

Writes a single ulong.
public static void Write(this BinaryWriter writer, ulong value)

Parameters

The BinaryReader to write to.

value

The data to write.

Write(BinaryWriter, byte[])

Writes a byte array.
public static void Write(this BinaryWriter writer, byte[] bytes)

Parameters

The BinaryReader to write to.

bytes

The data to write.