메소드 | 설명 | |
---|---|---|
Deserialize ( Stream stream ) : object | ||
EstimateLength ( object packet ) : int | ||
PeekLength ( Stream stream ) : int | ||
Serialize ( Stream stream, object packet ) : void | ||
SetDeserializeWrapKey ( int wrapKey ) : void | ||
SetSerializeWrapKey ( int wrapKey, bool pending = false ) : void |
메소드 | 설명 | |
---|---|---|
GetBuffers ( Stream stream, int pos, int length, ArraySegment |
||
PacketSerializerBase ( Data data ) : System |
메소드 | 설명 | |
---|---|---|
Decrypt ( byte target, int targetOffset, byte source, int sourceOffset, int length, DecryptContext &ctx ) : void | ||
Encrypt ( byte target, int targetOffset, byte source, int sourceOffset, int length, EncryptContext &ctx ) : void |
protected abstract GetBuffers ( Stream stream, int pos, int length, ArraySegment |
||
stream | Stream | |
pos | int | |
length | int | |
segment0 | ArraySegment |
|
segment1 | ArraySegment |
|
리턴 | void |
protected PacketSerializerBase ( Data data ) : System | ||
data | Data | |
리턴 | System |
public Serialize ( Stream stream, object packet ) : void | ||
stream | Stream | |
packet | object | |
리턴 | void |
public SetDeserializeWrapKey ( int wrapKey ) : void | ||
wrapKey | int | |
리턴 | void |
public SetSerializeWrapKey ( int wrapKey, bool pending = false ) : void | ||
wrapKey | int | |
pending | bool | |
리턴 | void |