C# Class TagTool.IO.EndianReader

Inheritance: System.IO.BinaryReader
Mostrar archivo Open project: TheGuardians/TagTool Class Usage Examples

Public Methods

Method Description
EndianReader ( Stream stream, EndianFormat format ) : System
PeekUInt16 ( ) : ushort
PeekUInt16 ( EndianFormat Type ) : ushort
ReadBlock ( byte buffer, int offset, int size ) : int
ReadDouble ( ) : double
ReadDouble ( EndianFormat format ) : double
ReadInt16 ( ) : short
ReadInt16 ( EndianFormat format ) : short
ReadInt32 ( ) : int
ReadInt32 ( EndianFormat format ) : int
ReadInt64 ( ) : long
ReadInt64 ( EndianFormat format ) : long
ReadNullTerminatedString ( ) : string
ReadNullTerminatedString ( int MaxLength ) : string
ReadSingle ( ) : float
ReadSingle ( EndianFormat format ) : float
ReadString ( int Length, bool Trim = true ) : string
ReadUInt16 ( ) : ushort
ReadUInt16 ( EndianFormat format ) : ushort
ReadUInt32 ( ) : uint
ReadUInt32 ( EndianFormat format ) : uint
ReadUInt64 ( ) : ulong
ReadUInt64 ( EndianFormat format ) : ulong
SeekTo ( long offset ) : void
Skip ( long count ) : void

Method Details

EndianReader() public method

public EndianReader ( Stream stream, EndianFormat format ) : System
stream Stream
format EndianFormat
return System

PeekUInt16() public method

public PeekUInt16 ( ) : ushort
return ushort

PeekUInt16() public method

public PeekUInt16 ( EndianFormat Type ) : ushort
Type EndianFormat
return ushort

ReadBlock() public method

public ReadBlock ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
return int

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadDouble() public method

public ReadDouble ( EndianFormat format ) : double
format EndianFormat
return double

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt16() public method

public ReadInt16 ( EndianFormat format ) : short
format EndianFormat
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadInt32() public method

public ReadInt32 ( EndianFormat format ) : int
format EndianFormat
return int

ReadInt64() public method

public ReadInt64 ( ) : long
return long

ReadInt64() public method

public ReadInt64 ( EndianFormat format ) : long
format EndianFormat
return long

ReadNullTerminatedString() public method

public ReadNullTerminatedString ( ) : string
return string

ReadNullTerminatedString() public method

public ReadNullTerminatedString ( int MaxLength ) : string
MaxLength int
return string

ReadSingle() public method

public ReadSingle ( ) : float
return float

ReadSingle() public method

public ReadSingle ( EndianFormat format ) : float
format EndianFormat
return float

ReadString() public method

public ReadString ( int Length, bool Trim = true ) : string
Length int
Trim bool
return string

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

ReadUInt16() public method

public ReadUInt16 ( EndianFormat format ) : ushort
format EndianFormat
return ushort

ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint

ReadUInt32() public method

public ReadUInt32 ( EndianFormat format ) : uint
format EndianFormat
return uint

ReadUInt64() public method

public ReadUInt64 ( ) : ulong
return ulong

ReadUInt64() public method

public ReadUInt64 ( EndianFormat format ) : ulong
format EndianFormat
return ulong

SeekTo() public method

public SeekTo ( long offset ) : void
offset long
return void

Skip() public method

public Skip ( long count ) : void
count long
return void