C# Class Gammtek.Conduit.IO.DataReader

Inheritance: System.IO.BinaryReader
Show file Open project: ME3Explorer/ME3Explorer

Public Methods

Method Description
DataReader ( Stream input, ByteOrder byteOrder = ByteOrder.LittleEndian, Encoding encoding = null, bool leaveOpen = false ) : System.IO
ReadBoolean ( ) : bool
ReadDecimal ( ) : decimal
ReadDouble ( ) : double
ReadInt16 ( ) : short
ReadInt32 ( ) : int
ReadInt64 ( ) : long
ReadSingle ( ) : float
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint
ReadUInt64 ( ) : ulong
Seek ( long offset, SeekOrigin origin = SeekOrigin.Begin ) : long
ToArray ( ) : byte[]

Method Details

DataReader() public method

public DataReader ( Stream input, ByteOrder byteOrder = ByteOrder.LittleEndian, Encoding encoding = null, bool leaveOpen = false ) : System.IO
input System.IO.Stream
byteOrder ByteOrder
encoding System.Text.Encoding
leaveOpen bool
return System.IO

ReadBoolean() public method

public ReadBoolean ( ) : bool
return bool

ReadDecimal() public method

public ReadDecimal ( ) : decimal
return decimal

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadInt64() public method

public ReadInt64 ( ) : long
return long

ReadSingle() public method

public ReadSingle ( ) : float
return float

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint

ReadUInt64() public method

public ReadUInt64 ( ) : ulong
return ulong

Seek() public method

public Seek ( long offset, SeekOrigin origin = SeekOrigin.Begin ) : long
offset long
origin SeekOrigin
return long

ToArray() public method

public ToArray ( ) : byte[]
return byte[]