This content has been marked as final. Show 4 replies
You most likely have to use it like this:
htmlvar = encoder.encode( htmlvar );
I tried that, encode() has a void return.
This is obviously an undocumented class as the only place it shows up is in the code completion. But I think I've found a way to use it:
Looks like the flush() method does the same thing. Well, it's undocumented, so use at your own risk.
Using encoder.drain() worked like a charm! Many thanks!