You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binary Biser decoding became faster starting from v1.7, but for that objects decoding initialization template must be changed - compiler will show errors in those parts.
Example:
publicstaticT4BiserDecode(byte[]enc=null,Biser.DecoderextDecoder=null){Biser.Decoderdecoder=null;if(extDecoder==null){if(enc==null||enc.Length==0)returnnull;decoder=newBiser.Decoder(enc);if(decoder.CheckNull())returnnull;}else{/************************ MUST BE LIKE THIS **************************///STARTING FROM v1.7, init template has changedif(extDecoder.CheckNull())returnnull;elsedecoder=extDecoder;/************************************************************************/}T4m=newT4();m.Data=decoder.GetByteArray();m.Id=decoder.GetULong();returnm;}
The text was updated successfully, but these errors were encountered:
hhblaze
changed the title
Initialization template of the object decoding static functions has change in v.1.7
Initialization template of the object decoding static functions has changed in v.1.7
Aug 24, 2018
hhblaze
changed the title
Initialization template of the object decoding static functions has changed in v.1.7
Initialization template for the object decoding static function has changed in v.1.7
Aug 24, 2018
Binary Biser decoding became faster starting from v1.7, but for that objects decoding initialization template must be changed - compiler will show errors in those parts.
Example:
The text was updated successfully, but these errors were encountered: