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 (String, Int32)
Write the string of r-bit characters 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
(
string
s
,
int
r
)
Parameters
s
Type:
System
String
the
string
to write.
r
Type:
System
Int32
the number of relevants bits in each character.
Exceptions
Exception
Condition
ArgumentException
if r is not between 1 and 16.
ArgumentException
if any character in the string is not between 0 and 2
r
- 1.
See Also
Reference
BinaryOutput Class
Write Overload
Algs4Net Namespace