BuildMaster SDK Reference
Version:

WriteLength(System.IO.Stream stream, 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.Stream stream, int length)

Parameters

stream
Type: System.IO.Stream

The stream into which the value is written.

length
Type: int

The value to write.

Exceptions

System.ArgumentNullException

stream is null (Nothing in Visual Basic).