koush / AndroidAsync

Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads.
Other
7.52k stars 1.56k forks source link

How to solve the problem of Chinese messy code #639

Open dongyiming opened 5 years ago

dongyiming commented 5 years ago

now , i need to import this lib into my project,and modify the AsyncNetworkSocket.class like this @Override public String charset() { return "utf-8"; } but i do not want to,it makes my project bloated

dongyiming commented 5 years ago

😀

dongyiming commented 5 years ago

compile 'com.koushikdutta.async:androidasync:2.+'

look as this

public String peekString(Charset charset) { if (charset == null) charset = Charsets.US_ASCII; StringBuilder builder = new StringBuilder(); }

but ur example is "charset = Charsets.utf-8"

dongyiming commented 5 years ago

@koush