BuildMaster SDK Reference
Version:

WriteLength(System.IO.BinaryWriter writer, int length) Method

Writes a variable-length 32-bit integer 7 bits at a time that is intended to represent a length.

Syntax

public static void WriteLength(System.IO.BinaryWriter writer, int length)

Parameters

writer
Type: System.IO.BinaryWriter

The binary writer into which the value is written.

length
Type: int

The value to write.

Exceptions

System.ArgumentNullException

writer is null (Nothing in Visual Basic).