A Sandcastle Documented Class Library
ReadShort Method (inputStream)
NamespacesGifComponentsGifComponentReadShort(Stream)
Reads next 16-bit value, least significant byte first, and advances the position within the stream by two bytes.
Declaration Syntax
C#Visual BasicVisual C++
protected static int ReadShort(
	Stream inputStream
)
Protected Shared Function ReadShort ( _
	inputStream As Stream _
) As Integer
protected:
static int ReadShort(
	Stream^ inputStream
)
Parameters
inputStream (Stream)
The input stream to read.
Return Value
The next two bytes in the stream, cast to an Int32, or -1 if at the end of the stream.

Assembly: GifComponents (Module: GifComponents) Version: 0.1.3594.26453