C# Класс YAMP.Deserializer

The deserializer class for helping in the serialization process.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Create ( Byte content ) : Deserializer

Creates a new instance of the deserialization helper.

Dispose ( ) : void

Cleans up the mess.

GetBoolean ( ) : System.Boolean

Reads the next bytes as boolean.

GetBytes ( ) : Byte[]

Reads the next bytes as raw bytes.

GetDouble ( ) : Double

Reads the next bytes as double.

GetInt ( ) : Int32

Reads the next bytes as integer.

GetLong ( ) : System.Int64

Reads the next bytes as long.

GetScalar ( ) : ScalarValue

Reads the next bytes as scalar (2 doubles).

GetSingle ( ) : System.Single

Reads the next bytes as float.

GetString ( ) : String

Reads the next bytes as string.

GetValue ( ) : Value

Reads the next value.

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

Метод Описание
Deserializer ( Byte content ) : System

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

Create() публичный статический Метод

Creates a new instance of the deserialization helper.
public static Create ( Byte content ) : Deserializer
content Byte The content to deserialize.
Результат Deserializer

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

Cleans up the mess.
public Dispose ( ) : void
Результат void

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

Reads the next bytes as boolean.
public GetBoolean ( ) : System.Boolean
Результат System.Boolean

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

Reads the next bytes as raw bytes.
public GetBytes ( ) : Byte[]
Результат Byte[]

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

Reads the next bytes as double.
public GetDouble ( ) : Double
Результат Double

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

Reads the next bytes as integer.
public GetInt ( ) : Int32
Результат System.Int32

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

Reads the next bytes as long.
public GetLong ( ) : System.Int64
Результат System.Int64

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

Reads the next bytes as scalar (2 doubles).
public GetScalar ( ) : ScalarValue
Результат ScalarValue

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

Reads the next bytes as float.
public GetSingle ( ) : System.Single
Результат System.Single

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

Reads the next bytes as string.
public GetString ( ) : String
Результат String

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

Reads the next value.
public GetValue ( ) : Value
Результат Value