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

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

Parameters

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