SysSingleton.Deflate
No edit summary
(Adding message template to the top of the page)
Line 1: Line 1:
{{message|Write the content here to display this box}}
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)

Revision as of 22:37, 16 June 2024

Write the content here to display this box

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