Click or drag to resize
BinaryInputReadShort Method
Reads the next 16 bits from standard input and return as a 16-bit short.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public short ReadShort()

Return Value

Type: Int16
the next 16 bits of data from standard input as a short
Exceptions
ExceptionCondition
IOExceptionif there are fewer than 16 bits available on standard input
See Also