SysSingleton.Deflate
(Adding template at the end of the page)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
  vAnswer:=SysSingleton.oclsingleton.Deflate(vCert.RSADecrypt(  vAnswer.Base64ToBlob),true).blobtobase64
  vAnswer:=SysSingleton.oclsingleton.Deflate(vCert.RSADecrypt(  vAnswer.Base64ToBlob),true).blobtobase64


See also: [[SysSingleton.UrlEncode]]
See also: [[Documentation:SysSingleton.UrlEncode|SysSingleton.UrlEncode]]
{{Edited|July|12|2024}}
{{Edited|July|12|2024}}
[[Category:MDriven Server]]

Latest revision as of 05:20, 20 March 2024

https://learn.microsoft.com/en-us/dotnet/api/system.io.compression.deflatestream?view=net-7.0

Deflate(bytes:Blob; inflate:Boolean):Blob  (set Eco.ExternalLateBound=true)

Example for compressing:

let compressedbase64=SysSingleton.oclsingleton.Deflate(xml.Replace('\r\n', ' ').Replace('\n', ' ').StringToBase64.Base64ToBlob,false).BlobToBase64 in
(
  SysSingleton.oclsingleton.UrlEncode(compressedbase64,false)
)

Example for decompressing:

vAnswer:=SysSingleton.oclsingleton.Deflate(vCert.RSADecrypt(  vAnswer.Base64ToBlob),true).blobtobase64

See also: SysSingleton.UrlEncode

This page was edited 60 days ago on 03/20/2024. What links here