C# 클래스 Sharpex2D.Network.Packages.PackageSerializer

파일 보기 프로젝트 열기: ThuCommix/Sharpex2D

공개 메소드들

메소드 설명
Deserialize ( Stream stream ) : IBasePackage

Deserializes a package from the given stream.

Serialize ( IBasePackage package, Stream targetStream ) : void

Serializes the package in the given stream.

비공개 메소드들

메소드 설명
PackageSerializer ( ) : System.IO

Initializes a new PackageSerializer class.

메소드 상세

Deserialize() 공개 정적인 메소드

Deserializes a package from the given stream.
public static Deserialize ( Stream stream ) : IBasePackage
stream System.IO.Stream The Stream.
리턴 IBasePackage

Serialize() 공개 정적인 메소드

Serializes the package in the given stream.
public static Serialize ( IBasePackage package, Stream targetStream ) : void
package IBasePackage The Package.
targetStream System.IO.Stream The TargetStream
리턴 void