SysSingleton.Deflate
No edit summary
(Replacing message template with parser tag)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
https://learn.microsoft.com/en-us/dotnet/api/system.io.compression.deflatestream?view=net-7.0
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)
  Deflate(bytes:Blob; inflate:Boolean):Blob  (set Eco.ExternalLateBound=true)
Line 9: Line 10:
  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]]
[[Category:MDriven Server]]

Latest revision as of 07:57, 17 June 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 12 days ago on 06/17/2024. What links here