Click or drag to resize
BinaryOutputWrite Method (Int32, Int32)
Write the r-bit int to standard output.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void Write(
	int x,
	int r
)

Parameters

x
Type: SystemInt32
the int to write.
r
Type: SystemInt32
the number of relevant bits in the char.
Exceptions
ExceptionCondition
ArgumentExceptionif r is not between 1 and 32.
ArgumentExceptionif x is not between 0 and 2r - 1.
See Also