C# Класс Glare.Assets.Lover

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Dispose() публичный Метод

Dispose of the stream.
public Dispose ( ) : void
Результат void

Load() публичный Метод

Attempt to load a Byte.
This is not a .
public Load ( Byte &value ) : void
value Byte Receives the value.
Результат void

Load() публичный Метод

Attempt to load a Double using the DefaultByteOrder.
This is not a .
public Load ( Double &value ) : void
value Double Receives the value.
Результат void

Load() публичный Метод

public Load ( Double &value, ByteOrderDirectionCombination combo ) : void
value Double
combo ByteOrderDirectionCombination
Результат void

Load() публичный Метод

Attempt to load a Int16 using the DefaultByteOrder.
This is not a .
public Load ( Int16 &value ) : void
value System.Int16 Receives the value.
Результат void

Load() публичный Метод

public Load ( Int16 &value, ByteOrderDirectionCombination combo ) : void
value System.Int16
combo ByteOrderDirectionCombination
Результат void

Load() публичный Метод

Attempt to load a Int32 using the DefaultByteOrder.
This is not a .
public Load ( Int32 &value ) : void
value System.Int32 Receives the value.
Результат void

Load() публичный Метод

public Load ( Int32 &value, ByteOrderDirectionCombination combo ) : void
value System.Int32
combo ByteOrderDirectionCombination
Результат void

Load() публичный Метод

Attempt to load a Int64 using the DefaultByteOrder.
This is not a .
public Load ( System.Int64 &value ) : void
value System.Int64 Receives the value.
Результат void

Load() публичный Метод

public Load ( System.Int64 &value, ByteOrderDirectionCombination combo ) : void
value System.Int64
combo ByteOrderDirectionCombination
Результат void

Load() публичный Метод

Attempt to load a SByte.
This is not a .
public Load ( SByte &value ) : void
value SByte Receives the value.
Результат void

Load() публичный Метод

Attempt to load a Single using the DefaultByteOrder.
This is not a .
public Load ( System.Single &value ) : void
value System.Single Receives the value.
Результат void

Load() публичный Метод

public Load ( System.Single &value, ByteOrderDirectionCombination combo ) : void
value System.Single
combo ByteOrderDirectionCombination
Результат void

Load() публичный Метод

Attempt to load a UInt16 using the DefaultByteOrder.
This is not a .
public Load ( UInt16 &value ) : void
value System.UInt16 Receives the value.
Результат void

Load() публичный Метод

public Load ( UInt16 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt16
combo ByteOrderDirectionCombination
Результат void

Load() публичный Метод

Attempt to load a UInt32 using the DefaultByteOrder.
This is not a .
public Load ( UInt32 &value ) : void
value System.UInt32 Receives the value.
Результат void

Load() публичный Метод

public Load ( UInt32 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt32
combo ByteOrderDirectionCombination
Результат void

Load() публичный Метод

Attempt to load a UInt64 using the DefaultByteOrder.
This is not a .
public Load ( System.UInt64 &value ) : void
value System.UInt64 Receives the value.
Результат void

Load() публичный Метод

public Load ( System.UInt64 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt64
combo ByteOrderDirectionCombination
Результат void

LoadByte() публичный Метод

Attempt to load a Byte.
This is not a .
public LoadByte ( ) : Byte
Результат Byte

LoadDouble() публичный Метод

Attempt to load a Double using the DefaultByteOrder.
This is not a .
public LoadDouble ( ) : Double
Результат Double

LoadDouble() публичный Метод

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.
Результат Double

LoadDoubleBE() публичный Метод

Attempt to load a Double using big-endian byte order.
This is not a .
public LoadDoubleBE ( ) : Double
Результат Double

LoadDoubleLE() публичный Метод

Attempt to load a Double using little-endian byte order.
This is not a .
public LoadDoubleLE ( ) : Double
Результат Double

LoadInt16() публичный Метод

Attempt to load a Int16 using the DefaultByteOrder.
This is not a .
public LoadInt16 ( ) : Int16
Результат System.Int16

LoadInt16() публичный Метод

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.
Результат System.Int16

LoadInt16BE() публичный Метод

Attempt to load a Int16 using big-endian byte order.
This is not a .
public LoadInt16BE ( ) : Int16
Результат System.Int16

LoadInt16LE() публичный Метод

Attempt to load a Int16 using little-endian byte order.
This is not a .
public LoadInt16LE ( ) : Int16
Результат System.Int16

LoadInt32() публичный Метод

Attempt to load a Int32 using the DefaultByteOrder.
This is not a .
public LoadInt32 ( ) : Int32
Результат System.Int32

LoadInt32() публичный Метод

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.
Результат System.Int32

LoadInt32BE() публичный Метод

Attempt to load a Int32 using big-endian byte order.
This is not a .
public LoadInt32BE ( ) : Int32
Результат System.Int32

LoadInt32LE() публичный Метод

Attempt to load a Int32 using little-endian byte order.
This is not a .
public LoadInt32LE ( ) : Int32
Результат System.Int32

LoadInt64() публичный Метод

Attempt to load a Int64 using the DefaultByteOrder.
This is not a .
public LoadInt64 ( ) : System.Int64
Результат System.Int64

LoadInt64() публичный Метод

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.
Результат System.Int64

LoadInt64BE() публичный Метод

Attempt to load a Int64 using big-endian byte order.
This is not a .
public LoadInt64BE ( ) : System.Int64
Результат System.Int64

LoadInt64LE() публичный Метод

Attempt to load a Int64 using little-endian byte order.
This is not a .
public LoadInt64LE ( ) : System.Int64
Результат System.Int64

LoadSByte() публичный Метод

Attempt to load a SByte.
This is not a .
public LoadSByte ( ) : SByte
Результат SByte

LoadSingle() публичный Метод

Attempt to load a Single using the DefaultByteOrder.
This is not a .
public LoadSingle ( ) : System.Single
Результат System.Single

LoadSingle() публичный Метод

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.
Результат System.Single

LoadSingleBE() публичный Метод

Attempt to load a Single using big-endian byte order.
This is not a .
public LoadSingleBE ( ) : System.Single
Результат System.Single

LoadSingleLE() публичный Метод

Attempt to load a Single using little-endian byte order.
This is not a .
public LoadSingleLE ( ) : System.Single
Результат System.Single

LoadUInt16() публичный Метод

Attempt to load a UInt16 using the DefaultByteOrder.
This is not a .
public LoadUInt16 ( ) : UInt16
Результат System.UInt16

LoadUInt16() публичный Метод

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.
Результат System.UInt16

LoadUInt16BE() публичный Метод

Attempt to load a UInt16 using big-endian byte order.
This is not a .
public LoadUInt16BE ( ) : UInt16
Результат System.UInt16

LoadUInt16LE() публичный Метод

Attempt to load a UInt16 using little-endian byte order.
This is not a .
public LoadUInt16LE ( ) : UInt16
Результат System.UInt16

LoadUInt32() публичный Метод

Attempt to load a UInt32 using the DefaultByteOrder.
This is not a .
public LoadUInt32 ( ) : UInt32
Результат System.UInt32

LoadUInt32() публичный Метод

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.
Результат System.UInt32

LoadUInt32BE() публичный Метод

Attempt to load a UInt32 using big-endian byte order.
This is not a .
public LoadUInt32BE ( ) : UInt32
Результат System.UInt32

LoadUInt32LE() публичный Метод

Attempt to load a UInt32 using little-endian byte order.
This is not a .
public LoadUInt32LE ( ) : UInt32
Результат System.UInt32

LoadUInt64() публичный Метод

Attempt to load a UInt64 using the DefaultByteOrder.
This is not a .
public LoadUInt64 ( ) : System.UInt64
Результат System.UInt64

LoadUInt64() публичный Метод

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.
Результат System.UInt64

LoadUInt64BE() публичный Метод

Attempt to load a UInt64 using big-endian byte order.
This is not a .
public LoadUInt64BE ( ) : System.UInt64
Результат System.UInt64

LoadUInt64LE() публичный Метод

Attempt to load a UInt64 using little-endian byte order.
This is not a .
public LoadUInt64LE ( ) : System.UInt64
Результат System.UInt64

Save() публичный Метод

Attempt to save a Byte.
This is not a .
public Save ( Byte value ) : void
value Byte The value to save.
Результат void

Save() публичный Метод

Attempt to save a Double using the DefaultByteOrder.
This is not a .
public Save ( Double value ) : void
value Double The value to save.
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

public Save ( Double &value, ByteOrderDirectionCombination combo ) : void
value Double
combo ByteOrderDirectionCombination
Результат void

Save() публичный Метод

Attempt to save a Int16 using the DefaultByteOrder.
This is not a .
public Save ( Int16 value ) : void
value System.Int16 The value to save.
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

public Save ( Int16 &value, ByteOrderDirectionCombination combo ) : void
value System.Int16
combo ByteOrderDirectionCombination
Результат void

Save() публичный Метод

Attempt to save a Int32 using the DefaultByteOrder.
This is not a .
public Save ( Int32 value ) : void
value System.Int32 The value to save.
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

public Save ( Int32 &value, ByteOrderDirectionCombination combo ) : void
value System.Int32
combo ByteOrderDirectionCombination
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

public Save ( System.Int64 &value, ByteOrderDirectionCombination combo ) : void
value System.Int64
combo ByteOrderDirectionCombination
Результат void

Save() публичный Метод

Attempt to save a SByte.
This is not a .
public Save ( SByte value ) : void
value SByte The value to save.
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

public Save ( System.Single &value, ByteOrderDirectionCombination combo ) : void
value System.Single
combo ByteOrderDirectionCombination
Результат void

Save() публичный Метод

Attempt to save a UInt16 using the DefaultByteOrder.
This is not a .
public Save ( UInt16 value ) : void
value System.UInt16 The value to save.
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

public Save ( UInt16 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt16
combo ByteOrderDirectionCombination
Результат void

Save() публичный Метод

Attempt to save a UInt32 using the DefaultByteOrder.
This is not a .
public Save ( UInt32 value ) : void
value System.UInt32 The value to save.
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

public Save ( UInt32 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt32
combo ByteOrderDirectionCombination
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

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.
Результат void

Save() публичный Метод

public Save ( System.UInt64 &value, ByteOrderDirectionCombination combo ) : void
value System.UInt64
combo ByteOrderDirectionCombination
Результат void