Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
BinaryOutput Class
BinaryOutput Methods
Write Method
Write Method (Boolean)
Write Method (Byte)
Write Method (Char)
Write Method (Double)
Write Method (Int16)
Write Method (Int32)
Write Method (Int64)
Write Method (Single)
Write Method (String)
Write Method (Char, Int32)
Write Method (Int32, Int32)
Write Method (String, Int32)
BinaryOutput
Write 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#
Copy
public
void
Write
(
int
x
,
int
r
)
Parameters
x
Type:
System
Int32
the
int
to write.
r
Type:
System
Int32
the number of relevant bits in the char.
Exceptions
Exception
Condition
ArgumentException
if
r
is not between 1 and 32.
ArgumentException
if
x
is not between 0 and 2
r
- 1.
See Also
Reference
BinaryOutput Class
Write Overload
Algs4Net Namespace