C# Class Glare.Assets.Lover

Show file Open project: Burton-Radons/Alexandria Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Dispose of the stream.

Load ( Byte &value ) : void

Attempt to load a Byte.

Load ( Double &value ) : void

Attempt to load a Double using the DefaultByteOrder.

Load ( Double &value, ByteOrderDirectionCombination combo ) : void
Load ( Int16 &value ) : void

Attempt to load a Int16 using the DefaultByteOrder.

Load ( Int16 &value, ByteOrderDirectionCombination combo ) : void
Load ( Int32 &value ) : void

Attempt to load a Int32 using the DefaultByteOrder.

Load ( Int32 &value, ByteOrderDirectionCombination combo ) : void
Load ( System.Int64 &value ) : void

Attempt to load a Int64 using the DefaultByteOrder.

Load ( System.Int64 &value, ByteOrderDirectionCombination combo ) : void
Load ( SByte &value ) : void

Attempt to load a SByte.

Load ( System.Single &value ) : void

Attempt to load a Single using the DefaultByteOrder.

Load ( System.Single &value, ByteOrderDirectionCombination combo ) : void
Load ( UInt16 &value ) : void

Attempt to load a UInt16 using the DefaultByteOrder.

Load ( UInt16 &value, ByteOrderDirectionCombination combo ) : void
Load ( UInt32 &value ) : void

Attempt to load a UInt32 using the DefaultByteOrder.

Load ( UInt32 &value, ByteOrderDirectionCombination combo ) : void
Load ( System.UInt64 &value ) : void

Attempt to load a UInt64 using the DefaultByteOrder.

Load ( System.UInt64 &value, ByteOrderDirectionCombination combo ) : void
LoadByte ( ) : Byte

Attempt to load a Byte.

LoadDouble ( ) : Double

Attempt to load a Double using the DefaultByteOrder.

LoadDouble ( ByteOrder byteOrder ) : Double

Attempt to load a Double using the given ByteOrder.

LoadDoubleBE ( ) : Double

Attempt to load a Double using big-endian byte order.

LoadDoubleLE ( ) : Double

Attempt to load a Double using little-endian byte order.

LoadInt16 ( ) : Int16

Attempt to load a Int16 using the DefaultByteOrder.

LoadInt16 ( ByteOrder byteOrder ) : Int16

Attempt to load a Int16 using the given ByteOrder.

LoadInt16BE ( ) : Int16

Attempt to load a Int16 using big-endian byte order.

LoadInt16LE ( ) : Int16

Attempt to load a Int16 using little-endian byte order.

LoadInt32 ( ) : Int32

Attempt to load a Int32 using the DefaultByteOrder.

LoadInt32 ( ByteOrder byteOrder ) : Int32

Attempt to load a Int32 using the given ByteOrder.

LoadInt32BE ( ) : Int32

Attempt to load a Int32 using big-endian byte order.

LoadInt32LE ( ) : Int32

Attempt to load a Int32 using little-endian byte order.

LoadInt64 ( ) : System.Int64

Attempt to load a Int64 using the DefaultByteOrder.

LoadInt64 ( ByteOrder byteOrder ) : System.Int64

Attempt to load a Int64 using the given ByteOrder.

LoadInt64BE ( ) : System.Int64

Attempt to load a Int64 using big-endian byte order.

LoadInt64LE ( ) : System.Int64

Attempt to load a Int64 using little-endian byte order.

LoadSByte ( ) : SByte

Attempt to load a SByte.

LoadSingle ( ) : System.Single

Attempt to load a Single using the DefaultByteOrder.

LoadSingle ( ByteOrder byteOrder ) : System.Single

Attempt to load a Single using the given ByteOrder.

LoadSingleBE ( ) : System.Single

Attempt to load a Single using big-endian byte order.

LoadSingleLE ( ) : System.Single

Attempt to load a Single using little-endian byte order.

LoadUInt16 ( ) : UInt16

Attempt to load a UInt16 using the DefaultByteOrder.

LoadUInt16 ( ByteOrder byteOrder ) : UInt16

Attempt to load a UInt16 using the given ByteOrder.

LoadUInt16BE ( ) : UInt16

Attempt to load a UInt16 using big-endian byte order.

LoadUInt16LE ( ) : UInt16

Attempt to load a UInt16 using little-endian byte order.

LoadUInt32 ( ) : UInt32

Attempt to load a UInt32 using the DefaultByteOrder.

LoadUInt32 ( ByteOrder byteOrder ) : UInt32

Attempt to load a UInt32 using the given ByteOrder.

LoadUInt32BE ( ) : UInt32

Attempt to load a UInt32 using big-endian byte order.

LoadUInt32LE ( ) : UInt32

Attempt to load a UInt32 using little-endian byte order.

LoadUInt64 ( ) : System.UInt64

Attempt to load a UInt64 using the DefaultByteOrder.

LoadUInt64 ( ByteOrder byteOrder ) : System.UInt64

Attempt to load a UInt64 using the given ByteOrder.

LoadUInt64BE ( ) : System.UInt64

Attempt to load a UInt64 using big-endian byte order.

LoadUInt64LE ( ) : System.UInt64

Attempt to load a UInt64 using little-endian byte order.

Save ( Byte value ) : void

Attempt to save a Byte.

Save ( Double value ) : void

Attempt to save a Double using the DefaultByteOrder.

Save ( Double value, ByteOrder byteOrder ) : void

Attempt to save a Double using the given ByteOrder.

Save ( Double &value, ByteOrderDirectionCombination combo ) : void
Save ( Int16 value ) : void

Attempt to save a Int16 using the DefaultByteOrder.

Save ( Int16 value, ByteOrder byteOrder ) : void

Attempt to save a Int16 using the given ByteOrder.

Save ( Int16 &value, ByteOrderDirectionCombination combo ) : void
Save ( Int32 value ) : void

Attempt to save a Int32 using the DefaultByteOrder.

Save ( Int32 value, ByteOrder byteOrder ) : void

Attempt to save a Int32 using the given ByteOrder.

Save ( Int32 &value, ByteOrderDirectionCombination combo ) : void
Save ( System.Int64 value ) : void

Attempt to save a Int64 using the DefaultByteOrder.

Save ( System.Int64 value, ByteOrder byteOrder ) : void

Attempt to save a Int64 using the given ByteOrder.

Save ( System.Int64 &value, ByteOrderDirectionCombination combo ) : void
Save ( SByte value ) : void

Attempt to save a SByte.

Save ( System.Single value ) : void

Attempt to save a Single using the DefaultByteOrder.

Save ( System.Single value, ByteOrder byteOrder ) : void

Attempt to save a Single using the given ByteOrder.

Save ( System.Single &value, ByteOrderDirectionCombination combo ) : void
Save ( UInt16 value ) : void

Attempt to save a UInt16 using the DefaultByteOrder.

Save ( UInt16 value, ByteOrder byteOrder ) : void

Attempt to save a UInt16 using the given ByteOrder.

Save ( UInt16 &value, ByteOrderDirectionCombination combo ) : void
Save ( UInt32 value ) : void

Attempt to save a UInt32 using the DefaultByteOrder.

Save ( UInt32 value, ByteOrder byteOrder ) : void

Attempt to save a UInt32 using the given ByteOrder.

Save ( UInt32 &value, ByteOrderDirectionCombination combo ) : void
Save ( System.UInt64 value ) : void

Attempt to save a UInt64 using the DefaultByteOrder.

Save ( System.UInt64 value, ByteOrder byteOrder ) : void

Attempt to save a UInt64 using the given ByteOrder.

Save ( System.UInt64 &value, ByteOrderDirectionCombination combo ) : void

Private Methods

Method Description
Lover ( System.Stream stream, LoverDirection direction, ByteOrder defaultByteOrder, Encoding encoding, bool keepOpen = false ) : System
NotLoaderException ( ) : Exception
NotSaverException ( ) : Exception
ReadTemporary ( int count ) : void
RequireLoading ( ) : void
RequireSaving ( ) : void
WriteTemporary ( int count ) : void

Method Details

Dispose() public method

Dispose of the stream.
public Dispose ( ) : void
return void

Load() public method

Attempt to load a Byte.
This is not a .
public Load ( Byte &value ) : void
value Byte Receives the value.
return void

Load() public method

Attempt to load a Double using the DefaultByteOrder.
This is not a .
public Load ( Double &value ) : void
value Double Receives the value.
return void

Load() public method

public Load ( Double &value, ByteOrderDirectionCombination combo ) : void
value Double
combo ByteOrderDirectionCombination
return void

Load() public method

Attempt to load a Int16 using the DefaultByteOrder.
This is not a .
public Load ( Int16 &value ) : void
value System.Int16 Receives the value.
return void

Load() public method

public Load ( Int16 &value, ByteOrderDirectionCombination combo ) : void
value System.Int16
combo ByteOrderDirectionCombination
return void

Load() public method

Attempt to load a Int32 using the DefaultByteOrder.
This is not a .
public Load ( Int32 &value ) : void
value System.Int32 Receives the value.
return void

Load() public method

public Load ( Int32 &value, ByteOrderDirectionCombination combo ) : void
value System.Int32
combo ByteOrderDirectionCombination
return void

Load() public method

Attempt to load a Int64 using the DefaultByteOrder.
This is not a .
public Load ( System.Int64 &value ) : void
value System.Int64 Receives the value.
return void

Load() public method

public Load ( System.Int64 &value, ByteOrderDirectionCombination combo ) : void
value System.Int64
combo ByteOrderDirectionCombination
return void

Load() public method

Attempt to load a SByte.
This is not a .
public Load ( SByte &value ) : void
value SByte Receives the value.
return void

Load() public method

Attempt to load a Single using the DefaultByteOrder.
This is not a .
public Load ( System.Single &value ) : void
value System.Single Receives the value.
return void

Load() public method

public Load ( System.Single &value, ByteOrderDirectionCombination combo ) : void
value System.Single
combo ByteOrderDirectionCombination
return void

Load() public method

Attempt to load a UInt16 using the DefaultByteOrder.
This is not a .
public Load ( UInt16 &value ) : void
value System.UInt16 Receives the value.
return void

Load() public method

public Load ( UInt16 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt16
combo ByteOrderDirectionCombination
return void

Load() public method

Attempt to load a UInt32 using the DefaultByteOrder.
This is not a .
public Load ( UInt32 &value ) : void
value System.UInt32 Receives the value.
return void

Load() public method

public Load ( UInt32 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt32
combo ByteOrderDirectionCombination
return void

Load() public method

Attempt to load a UInt64 using the DefaultByteOrder.
This is not a .
public Load ( System.UInt64 &value ) : void
value System.UInt64 Receives the value.
return void

Load() public method

public Load ( System.UInt64 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt64
combo ByteOrderDirectionCombination
return void

LoadByte() public method

Attempt to load a Byte.
This is not a .
public LoadByte ( ) : Byte
return Byte

LoadDouble() public method

Attempt to load a Double using the DefaultByteOrder.
This is not a .
public LoadDouble ( ) : Double
return Double

LoadDouble() public method

Attempt to load a Double using the given ByteOrder.
This is not a . is an unknown or invalid value.
public LoadDouble ( ByteOrder byteOrder ) : Double
byteOrder ByteOrder The byte order to use.
return Double

LoadDoubleBE() public method

Attempt to load a Double using big-endian byte order.
This is not a .
public LoadDoubleBE ( ) : Double
return Double

LoadDoubleLE() public method

Attempt to load a Double using little-endian byte order.
This is not a .
public LoadDoubleLE ( ) : Double
return Double

LoadInt16() public method

Attempt to load a Int16 using the DefaultByteOrder.
This is not a .
public LoadInt16 ( ) : Int16
return System.Int16

LoadInt16() public method

Attempt to load a Int16 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public LoadInt16 ( ByteOrder byteOrder ) : Int16
byteOrder ByteOrder The byte order to use.
return System.Int16

LoadInt16BE() public method

Attempt to load a Int16 using big-endian byte order.
This is not a .
public LoadInt16BE ( ) : Int16
return System.Int16

LoadInt16LE() public method

Attempt to load a Int16 using little-endian byte order.
This is not a .
public LoadInt16LE ( ) : Int16
return System.Int16

LoadInt32() public method

Attempt to load a Int32 using the DefaultByteOrder.
This is not a .
public LoadInt32 ( ) : Int32
return System.Int32

LoadInt32() public method

Attempt to load a Int32 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public LoadInt32 ( ByteOrder byteOrder ) : Int32
byteOrder ByteOrder The byte order to use.
return System.Int32

LoadInt32BE() public method

Attempt to load a Int32 using big-endian byte order.
This is not a .
public LoadInt32BE ( ) : Int32
return System.Int32

LoadInt32LE() public method

Attempt to load a Int32 using little-endian byte order.
This is not a .
public LoadInt32LE ( ) : Int32
return System.Int32

LoadInt64() public method

Attempt to load a Int64 using the DefaultByteOrder.
This is not a .
public LoadInt64 ( ) : System.Int64
return System.Int64

LoadInt64() public method

Attempt to load a Int64 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public LoadInt64 ( ByteOrder byteOrder ) : System.Int64
byteOrder ByteOrder The byte order to use.
return System.Int64

LoadInt64BE() public method

Attempt to load a Int64 using big-endian byte order.
This is not a .
public LoadInt64BE ( ) : System.Int64
return System.Int64

LoadInt64LE() public method

Attempt to load a Int64 using little-endian byte order.
This is not a .
public LoadInt64LE ( ) : System.Int64
return System.Int64

LoadSByte() public method

Attempt to load a SByte.
This is not a .
public LoadSByte ( ) : SByte
return SByte

LoadSingle() public method

Attempt to load a Single using the DefaultByteOrder.
This is not a .
public LoadSingle ( ) : System.Single
return System.Single

LoadSingle() public method

Attempt to load a Single using the given ByteOrder.
This is not a . is an unknown or invalid value.
public LoadSingle ( ByteOrder byteOrder ) : System.Single
byteOrder ByteOrder The byte order to use.
return System.Single

LoadSingleBE() public method

Attempt to load a Single using big-endian byte order.
This is not a .
public LoadSingleBE ( ) : System.Single
return System.Single

LoadSingleLE() public method

Attempt to load a Single using little-endian byte order.
This is not a .
public LoadSingleLE ( ) : System.Single
return System.Single

LoadUInt16() public method

Attempt to load a UInt16 using the DefaultByteOrder.
This is not a .
public LoadUInt16 ( ) : UInt16
return System.UInt16

LoadUInt16() public method

Attempt to load a UInt16 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public LoadUInt16 ( ByteOrder byteOrder ) : UInt16
byteOrder ByteOrder The byte order to use.
return System.UInt16

LoadUInt16BE() public method

Attempt to load a UInt16 using big-endian byte order.
This is not a .
public LoadUInt16BE ( ) : UInt16
return System.UInt16

LoadUInt16LE() public method

Attempt to load a UInt16 using little-endian byte order.
This is not a .
public LoadUInt16LE ( ) : UInt16
return System.UInt16

LoadUInt32() public method

Attempt to load a UInt32 using the DefaultByteOrder.
This is not a .
public LoadUInt32 ( ) : UInt32
return System.UInt32

LoadUInt32() public method

Attempt to load a UInt32 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public LoadUInt32 ( ByteOrder byteOrder ) : UInt32
byteOrder ByteOrder The byte order to use.
return System.UInt32

LoadUInt32BE() public method

Attempt to load a UInt32 using big-endian byte order.
This is not a .
public LoadUInt32BE ( ) : UInt32
return System.UInt32

LoadUInt32LE() public method

Attempt to load a UInt32 using little-endian byte order.
This is not a .
public LoadUInt32LE ( ) : UInt32
return System.UInt32

LoadUInt64() public method

Attempt to load a UInt64 using the DefaultByteOrder.
This is not a .
public LoadUInt64 ( ) : System.UInt64
return System.UInt64

LoadUInt64() public method

Attempt to load a UInt64 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public LoadUInt64 ( ByteOrder byteOrder ) : System.UInt64
byteOrder ByteOrder The byte order to use.
return System.UInt64

LoadUInt64BE() public method

Attempt to load a UInt64 using big-endian byte order.
This is not a .
public LoadUInt64BE ( ) : System.UInt64
return System.UInt64

LoadUInt64LE() public method

Attempt to load a UInt64 using little-endian byte order.
This is not a .
public LoadUInt64LE ( ) : System.UInt64
return System.UInt64

Save() public method

Attempt to save a Byte.
This is not a .
public Save ( Byte value ) : void
value Byte The value to save.
return void

Save() public method

Attempt to save a Double using the DefaultByteOrder.
This is not a .
public Save ( Double value ) : void
value Double The value to save.
return void

Save() public method

Attempt to save a Double using the given ByteOrder.
This is not a . is an unknown or invalid value.
public Save ( Double value, ByteOrder byteOrder ) : void
value Double The value to save.
byteOrder ByteOrder The byte order to use.
return void

Save() public method

public Save ( Double &value, ByteOrderDirectionCombination combo ) : void
value Double
combo ByteOrderDirectionCombination
return void

Save() public method

Attempt to save a Int16 using the DefaultByteOrder.
This is not a .
public Save ( Int16 value ) : void
value System.Int16 The value to save.
return void

Save() public method

Attempt to save a Int16 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public Save ( Int16 value, ByteOrder byteOrder ) : void
value System.Int16 The value to save.
byteOrder ByteOrder The byte order to use.
return void

Save() public method

public Save ( Int16 &value, ByteOrderDirectionCombination combo ) : void
value System.Int16
combo ByteOrderDirectionCombination
return void

Save() public method

Attempt to save a Int32 using the DefaultByteOrder.
This is not a .
public Save ( Int32 value ) : void
value System.Int32 The value to save.
return void

Save() public method

Attempt to save a Int32 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public Save ( Int32 value, ByteOrder byteOrder ) : void
value System.Int32 The value to save.
byteOrder ByteOrder The byte order to use.
return void

Save() public method

public Save ( Int32 &value, ByteOrderDirectionCombination combo ) : void
value System.Int32
combo ByteOrderDirectionCombination
return void

Save() public method

Attempt to save a Int64 using the DefaultByteOrder.
This is not a .
public Save ( System.Int64 value ) : void
value System.Int64 The value to save.
return void

Save() public method

Attempt to save a Int64 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public Save ( System.Int64 value, ByteOrder byteOrder ) : void
value System.Int64 The value to save.
byteOrder ByteOrder The byte order to use.
return void

Save() public method

public Save ( System.Int64 &value, ByteOrderDirectionCombination combo ) : void
value System.Int64
combo ByteOrderDirectionCombination
return void

Save() public method

Attempt to save a SByte.
This is not a .
public Save ( SByte value ) : void
value SByte The value to save.
return void

Save() public method

Attempt to save a Single using the DefaultByteOrder.
This is not a .
public Save ( System.Single value ) : void
value System.Single The value to save.
return void

Save() public method

Attempt to save a Single using the given ByteOrder.
This is not a . is an unknown or invalid value.
public Save ( System.Single value, ByteOrder byteOrder ) : void
value System.Single The value to save.
byteOrder ByteOrder The byte order to use.
return void

Save() public method

public Save ( System.Single &value, ByteOrderDirectionCombination combo ) : void
value System.Single
combo ByteOrderDirectionCombination
return void

Save() public method

Attempt to save a UInt16 using the DefaultByteOrder.
This is not a .
public Save ( UInt16 value ) : void
value System.UInt16 The value to save.
return void

Save() public method

Attempt to save a UInt16 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public Save ( UInt16 value, ByteOrder byteOrder ) : void
value System.UInt16 The value to save.
byteOrder ByteOrder The byte order to use.
return void

Save() public method

public Save ( UInt16 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt16
combo ByteOrderDirectionCombination
return void

Save() public method

Attempt to save a UInt32 using the DefaultByteOrder.
This is not a .
public Save ( UInt32 value ) : void
value System.UInt32 The value to save.
return void

Save() public method

Attempt to save a UInt32 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public Save ( UInt32 value, ByteOrder byteOrder ) : void
value System.UInt32 The value to save.
byteOrder ByteOrder The byte order to use.
return void

Save() public method

public Save ( UInt32 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt32
combo ByteOrderDirectionCombination
return void

Save() public method

Attempt to save a UInt64 using the DefaultByteOrder.
This is not a .
public Save ( System.UInt64 value ) : void
value System.UInt64 The value to save.
return void

Save() public method

Attempt to save a UInt64 using the given ByteOrder.
This is not a . is an unknown or invalid value.
public Save ( System.UInt64 value, ByteOrder byteOrder ) : void
value System.UInt64 The value to save.
byteOrder ByteOrder The byte order to use.
return void

Save() public method

public Save ( System.UInt64 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt64
combo ByteOrderDirectionCombination
return void