C# Class YAMP.Deserializer

The deserializer class for helping in the serialization process.
Inheritance: IDisposable
Afficher le fichier Open project: FlorianRappl/YAMP Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
Deserializer ( Byte content ) : System

Method Details

Create() public static méthode

Creates a new instance of the deserialization helper.
public static Create ( Byte content ) : Deserializer
content Byte The content to deserialize.
Résultat Deserializer

Dispose() public méthode

Cleans up the mess.
public Dispose ( ) : void
Résultat void

GetBoolean() public méthode

Reads the next bytes as boolean.
public GetBoolean ( ) : System.Boolean
Résultat System.Boolean

GetBytes() public méthode

Reads the next bytes as raw bytes.
public GetBytes ( ) : Byte[]
Résultat Byte[]

GetDouble() public méthode

Reads the next bytes as double.
public GetDouble ( ) : Double
Résultat Double

GetInt() public méthode

Reads the next bytes as integer.
public GetInt ( ) : Int32
Résultat System.Int32

GetLong() public méthode

Reads the next bytes as long.
public GetLong ( ) : System.Int64
Résultat System.Int64

GetScalar() public méthode

Reads the next bytes as scalar (2 doubles).
public GetScalar ( ) : ScalarValue
Résultat ScalarValue

GetSingle() public méthode

Reads the next bytes as float.
public GetSingle ( ) : System.Single
Résultat System.Single

GetString() public méthode

Reads the next bytes as string.
public GetString ( ) : String
Résultat String

GetValue() public méthode

Reads the next value.
public GetValue ( ) : Value
Résultat Value