Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
BinaryInput Class
BinaryInput Methods
ReadChar Method
ReadChar Method
ReadChar Method (Int32)
BinaryInput
ReadChar Method (Int32)
Reads the next r bits from standard input and return as an r-bit character.
Namespace:
Algs4Net
Assembly:
Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
char
ReadChar
(
int
r
)
Parameters
r
Type:
System
Int32
number of bits to read.
Return Value
Type:
Char
the next r bits of data from standard input as a
char
Exceptions
Exception
Condition
ArgumentException
if there are fewer than r bits available on standard input
ArgumentException
unless 1 <= r <= 16
See Also
Reference
BinaryInput Class
ReadChar Overload
Algs4Net Namespace