C# 클래스 YAMP.Deserializer

The deserializer class for helping in the serialization process.
상속: IDisposable
파일 보기 프로젝트 열기: FlorianRappl/YAMP 1 사용 예제들

공개 메소드들

메소드 설명
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