avoid so many conversions of
char -> to String -> getChars() -> copy chars -> foreach char -> to String -> getChars ...
also use bigger buffer... as printed log line usually got more than 50 chars..
not 16 as default in StringBuilder constructor (with 16 chars, you can write "Hello World !!!!" )
avoid so many conversions of char -> to String -> getChars() -> copy chars -> foreach char -> to String -> getChars ...
also use bigger buffer... as printed log line usually got more than 50 chars.. not 16 as default in StringBuilder constructor (with 16 chars, you can write "Hello World !!!!" )