Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Way to decode websocket frames?
Re: Way to decode websocket frames? [message #59053 is a reply to message #59050] Sat, 22 October 2022 08:43 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 266
Registered: March 2010
Experienced Member
Hi,

Zlib is included in U++.


String ZDecompressWS(String s){

	StringStream out;
	MemReadStream in(~s, s.GetCount());
	ZDecompress(out, in, in.GetLeft(), [](int64, int64){ return true;}, false);
	
	return out.GetResult();
	
}


regard,
Abdelghani OMARI.


regards
omari.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: v14609 GetHashValue compilation error
Next Topic: Windows ProgramData directory
Goto Forum:
  


Current Time: Fri May 10 09:58:25 CEST 2024

Total time taken to generate the page: 0.02570 seconds