C# Class VncSharpWpf.RfbProtocol.BigEndianBinaryReader

BigEndianBinaryReader is a wrapper class used to read .NET integral types from a Big-Endian stream. It inherits from BinaryReader and adds Big- to Little-Endian conversion.
Inheritance: System.IO.BinaryReader
Mostra file Open project: nakano531/VncSharpWpf

Public Methods

Method Description
BigEndianBinaryReader ( System input ) : System
BigEndianBinaryReader ( System input, System encoding ) : System
ReadInt16 ( ) : short
ReadInt32 ( ) : int
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint

Private Methods

Method Description
FillBuff ( int totalBytes ) : void

Method Details

BigEndianBinaryReader() public method

public BigEndianBinaryReader ( System input ) : System
input System
return System

BigEndianBinaryReader() public method

public BigEndianBinaryReader ( System input, System encoding ) : System
input System
encoding System
return System

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint