Contents tagged with pageSource
recently I was asked by one friends of mine, how pageSource in Acumatica works, i.e. how to code/decode pagesource contents.
After different methods of trial and error I've created following C# code in order to code/decode pageSource:
private static string Compress(string src)
byte bytes = Encoding.UTF8.GetBytes(src);
using (MemoryStream stream = new MemoryStream())
using (DeflateStream stream2 = new DeflateStream(stream, CompressionMode.Compress))
stream2. … more