mirror of
https://github.com/sorenisanerd/gotty.git
synced 2025-04-25 02:38:53 +00:00
Raw data sometimes include invalid UTF-8 bytes and that brings errors to WebSocket clients. To avoid the errors, encode data into base64 before sending it.