Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a buffered inputstream to read from the socket (#795)
* Use a buffered inputstream to read from the socket Currently the read from the socket is not buffered what can slow down reading bytes by byte. This wraps the input stream in the PacketReader in a BufferedInputStream to read larger chuncks of data to improve performance. * Fix codacy warnings Signed-off-by: Jeroen van Erp <jeroen@hierynomus.com> --------- Signed-off-by: Jeroen van Erp <jeroen@hierynomus.com> Co-authored-by: Christoph Läubrich <christoph@laeubi-soft.de> Co-authored-by: Jeroen van Erp <jeroen@hierynomus.com>
- Loading branch information