# kcp-java **Repository Path**: Aping-Fo/kcp-java ## Basic Information - **Project Name**: kcp-java - **Description**: 基于skywind3000/kcp的Java版本 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-05-23 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # kcp-java 基于skywind3000/kcp的Java版本 - [kcp](https://github.com/skywind3000/kcp) 需实现output方法 ```java KCP kcp = new KCP(10) { @Override protected void output(byte[] bytes, int size) { IoBuffer buff = IoBuffer.allocate(size); buff.put(bytes, 0, size); buff.rewind(); session.write(buff); } }; ```