C# Class NetMud.Data.System.SerializableDataPartial

Inheritance: IFileStored
ファイルを表示 Open project: SwiftAusterity/NetMud

Public Methods

Method Description
DeSerialize ( string jsonData ) : IFileStored

Deserialize a json string into this entity

FromBytes ( byte bytes ) : IFileStored

Deserialize a binary stream into this entity

Serialize ( ) : string

Serialize this live entity to a json string

ToBytes ( ) : byte[]

Serialize this live entity to a binary stream

Method Details

DeSerialize() public method

Deserialize a json string into this entity
public DeSerialize ( string jsonData ) : IFileStored
jsonData string string to deserialize
return IFileStored

FromBytes() public method

Deserialize a binary stream into this entity
public FromBytes ( byte bytes ) : IFileStored
bytes byte binary to deserialize
return IFileStored

Serialize() public method

Serialize this live entity to a json string
public Serialize ( ) : string
return string

ToBytes() public method

Serialize this live entity to a binary stream
public ToBytes ( ) : byte[]
return byte[]