Метод | Описание | |
---|---|---|
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 |
public Deserialize ( Stream stream ) : object | ||
stream | Stream | |
Результат | object |
public EstimateLength ( object packet ) : int | ||
packet | object | |
Результат | int |
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 |