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 <[email protected]> --------- Signed-off-by: Jeroen van Erp <[email protected]> Co-authored-by: Christoph Läubrich <[email protected]> Co-authored-by: Jeroen van Erp <[email protected]>
- Loading branch information