Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
GetBuffers ( Stream stream, int pos, int length, ArraySegment |
||
PacketSerializerBase ( Data data ) : System |
Method | Description | |
---|---|---|
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 |
public Deserialize ( Stream stream ) : object | ||
stream | Stream | |
return | object |
public EstimateLength ( object packet ) : int | ||
packet | object | |
return | int |
protected abstract GetBuffers ( Stream stream, int pos, int length, ArraySegment |
||
stream | Stream | |
pos | int | |
length | int | |
segment0 | ArraySegment |
|
segment1 | ArraySegment |
|
return | void |
protected PacketSerializerBase ( Data data ) : System | ||
data | Data | |
return | System |
public Serialize ( Stream stream, object packet ) : void | ||
stream | Stream | |
packet | object | |
return | void |
public SetDeserializeWrapKey ( int wrapKey ) : void | ||
wrapKey | int | |
return | void |
public SetSerializeWrapKey ( int wrapKey, bool pending = false ) : void | ||
wrapKey | int | |
pending | bool | |
return | void |