internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_B2B_Security_EncryptAuthentication tgt = new FFTgt_B2B_Security_EncryptAuthentication(); tgt.EncryptionAlgorithm = buffer[0]; tgt.KeyIndex = buffer[1]; tgt.EntityData = FreeformHelper.CopyToBuffer(buffer, 2, buffer.Length); return tgt; }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_B2B_Security_EncryptAuthentication tgt = new FFTgt_B2B_Security_EncryptAuthentication(); tgt.EncryptionAlgorithm = buffer[0]; tgt.KeyIndex = buffer[1]; tgt.EntityData = FreeformHelper.CopyToBuffer(buffer, 2, buffer.Length); return(tgt); }